[igt-dev] [PATCH i-g-t 3/5] lib/ioctrl_wrappers: CCS for GEN12 media compression
Mika Kahola
mika.kahola at intel.com
Mon Sep 9 13:07:06 UTC 2019
For GEN12 media 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 f2412d78..7dd2a1e8 100644
--- a/lib/ioctl_wrappers.h
+++ b/lib/ioctl_wrappers.h
@@ -201,6 +201,7 @@ struct local_drm_mode_fb_cmd2 {
#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_I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS fourcc_mod_code(INTEL, 7)
#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