From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: apoorva1.singh@intel.com
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t, v2 2/3] lib/intel_chipset.h: Add has_flat_ccs flag
Date: Mon, 22 Nov 2021 09:15:01 +0100 [thread overview]
Message-ID: <20211122081501.GA7458@zkempczy-mobl2> (raw)
In-Reply-To: <20211122064849.785894-3-apoorva1.singh@intel.com>
On Mon, Nov 22, 2021 at 12:18:48PM +0530, apoorva1.singh@intel.com wrote:
> From: Apoorva Singh <apoorva1.singh@intel.com>
>
> Add a new platform flag, has_flat_ccs, for platforms
> supporting Flat CCS.
>
> Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri@intel.com>
> ---
> lib/intel_chipset.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index 2b795527..d2719932 100644
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -40,6 +40,7 @@ struct intel_device_info {
> unsigned graphics_ver;
> unsigned display_ver;
> unsigned gt; /* 0 if unknown */
> + bool has_flat_ccs : 1;
> bool is_mobile : 1;
> bool is_whitney : 1;
> bool is_almador : 1;
> @@ -209,4 +210,6 @@ void intel_check_pch(void);
> IS_CHERRYVIEW(devid) || \
> IS_BROXTON(devid)))
>
> +#define HAS_FLAT_CCS(devid) (intel_get_device_info(devid)->has_flat_ccs)
> +
This will require explicit define line for newer gens - I got nothing
against it (I see no better solution right now). I've not found dg2
definition so above series is a little bit dead code now and we got
no possibility to test it on CI. Anyway:
Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
--
Zbigniew
> #endif /* _INTEL_CHIPSET_H */
> --
> 2.25.1
>
next prev parent reply other threads:[~2021-11-22 8:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-22 6:48 [igt-dev] [PATCH i-g-t,v2 0/3] Add testing for CCS apoorva1.singh
2021-11-22 6:48 ` [igt-dev] [PATCH i-g-t, v2 1/3] lib/i915: Introduce libraries i915_blt and intel_mocs apoorva1.singh
2021-11-22 9:00 ` Zbigniew Kempczyński
2021-11-22 9:03 ` Zbigniew Kempczyński
2021-11-23 12:34 ` Zbigniew Kempczyński
2021-11-23 13:23 ` Zbigniew Kempczyński
2021-11-22 6:48 ` [igt-dev] [PATCH i-g-t, v2 2/3] lib/intel_chipset.h: Add has_flat_ccs flag apoorva1.singh
2021-11-22 8:15 ` Zbigniew Kempczyński [this message]
2021-11-22 6:48 ` [igt-dev] [PATCH i-g-t,v2 3/3] i915/gem_ccs: Add testing for CCS apoorva1.singh
2021-11-25 7:55 ` [igt-dev] [PATCH i-g-t, v2 " Zbigniew Kempczyński
2021-11-22 8:36 ` [igt-dev] ✓ Fi.CI.BAT: success for Add testing for CCS (rev2) Patchwork
2021-11-22 10:13 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211122081501.GA7458@zkempczy-mobl2 \
--to=zbigniew.kempczynski@intel.com \
--cc=apoorva1.singh@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox