summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorJuha-Pekka Heikkilä <juha-pekka.heikkila@intel.com>2022-05-23 17:14:20 +0530
committerSwati Sharma <swati2.sharma@intel.com>2022-05-25 12:13:15 +0530
commit82524a10340ca75b828bb0b9cdfe331832f90167 (patch)
treecf1328cb2afd2e22b9980d9f0b5fc3fe472262b6 /lib/intel_chipset.h
parentba0d294b3e0a8c14380a3c9aec49d9dbaa4c1b2a (diff)
lib/DG2: create flat ccs framebuffers with 4-tile
Add support for DG2 flat ccs framebuffers with tile-4. Signed-off-by: Juha-Pekka Heikkilä <juha-pekka.heikkila@intel.com> Signed-off-by: Jeevan B <jeevan.b@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index db75a829..4d9f4623 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -219,6 +219,7 @@ void intel_check_pch(void);
#define HAS_4TILE(devid) (intel_get_device_info(devid)->has_4tile)
-#define HAS_FLATCCS(devid) (intel_get_device_info(devid)->has_flatccs)
+/* use HAS_4TILE here as all devices with 4-tile have flat ccs. */
+#define HAS_FLATCCS(devid) HAS_4TILE(devid)
#endif /* _INTEL_CHIPSET_H */