[igt-dev] [PATCH i-g-t, v4 3/5] lib/intel_chipset.h: Add has_flat_ccs flag
apoorva1.singh at intel.com
apoorva1.singh at intel.com
Fri Dec 10 13:05:31 UTC 2021
From: Apoorva Singh <apoorva1.singh at intel.com>
Add a new platform flag, has_flat_ccs, for platforms
supporting Flat CCS.
Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski at 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)
+
#endif /* _INTEL_CHIPSET_H */
--
2.25.1
More information about the igt-dev
mailing list