[PATCH i-g-t 3/6] lib/intel_chipset.h: Add has_flat_ccs flag
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Fri Jan 28 07:50:59 UTC 2022
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 3527cbe57..6d2de1ba7 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;
@@ -213,4 +214,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.32.0
More information about the Intel-gfx-trybot
mailing list