From: Nanley Chery Date: Wed, 11 Sep 2019 22:34:46 +0000 (-0700) Subject: gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ed6e43988e2356265e5f0fdc06f0bf8b59ad475;p=mesa.git gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS Add a case for this modifier in dri2_get_modifier_num_planes. Reviewed-by: Sagar Ghuge Reviewed-by: Jordan Justen Reviewed-by: Kenneth Graunke Part-of: --- diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c index fbc9f1115ad..3da3a07cf98 100644 --- a/src/gallium/frontends/dri/dri2.c +++ b/src/gallium/frontends/dri/dri2.c @@ -847,6 +847,7 @@ dri2_get_modifier_num_planes(uint64_t modifier, int fourcc) return 0; switch (modifier) { + case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS: case I915_FORMAT_MOD_Y_TILED_CCS: return 2; case DRM_FORMAT_MOD_BROADCOM_UIF: