Mesa (master): gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 19 23:44:07 UTC 2020


Module: Mesa
Branch: master
Commit: 4ed6e43988e2356265e5f0fdc06f0bf8b59ad475
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed6e43988e2356265e5f0fdc06f0bf8b59ad475

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed Sep 11 15:34:46 2019 -0700

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 <sagar.ghuge at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5420>

---

 src/gallium/frontends/dri/dri2.c | 1 +
 1 file changed, 1 insertion(+)

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:



More information about the mesa-commit mailing list