[igt-dev] [PATCH i-g-t 1/5] lib/ioctrl_wrappers: Color control surfaces for GEN12
Mika Kahola
mika.kahola at intel.com
Mon Sep 9 13:07:04 UTC 2019
For GEN12 render compression we need to define new format modifiers
as per definitions on drm_fourcc.h file.
Signed-off-by: Mika Kahola <mika.kahola at intel.com>
---
lib/ioctl_wrappers.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h
index 03211c97..f2412d78 100644
--- a/lib/ioctl_wrappers.h
+++ b/lib/ioctl_wrappers.h
@@ -200,6 +200,7 @@ struct local_drm_mode_fb_cmd2 {
#define LOCAL_I915_FORMAT_MOD_Yf_TILED local_fourcc_mod_code(INTEL, 3)
#define LOCAL_I915_FORMAT_MOD_Y_TILED_CCS local_fourcc_mod_code(INTEL, 4)
#define LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS local_fourcc_mod_code(INTEL, 5)
+#define LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS fourcc_mod_code(INTEL, 6)
#define LOCAL_DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, \
struct local_drm_mode_fb_cmd2)
--
2.17.1
More information about the igt-dev
mailing list