isl/drm: Support I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 19 Mar 2019 21:11:34 +0000 (14:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 23:32:29 +0000 (23:32 +0000)
Add an entry for this modifier in the modifier_info array.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5420>

src/intel/isl/isl_drm.c

index cd8c2422e57e9bc1550542be93a24db1bd09f5ca..c13a26c31ce15de61794cb3313fb490f1fc1fb31 100644 (file)
@@ -95,6 +95,13 @@ static const struct isl_drm_modifier_info modifier_info[] = {
       .aux_usage = ISL_AUX_USAGE_CCS_E,
       .supports_clear_color = false,
    },
+   {
+      .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS,
+      .name = "I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS",
+      .tiling = ISL_TILING_Y0,
+      .aux_usage = ISL_AUX_USAGE_GEN12_CCS_E,
+      .supports_clear_color = false,
+   },
 };
 
 const struct isl_drm_modifier_info *