gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS import
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 15 Apr 2020 23:30:24 +0000 (16:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Sep 2020 20:02:03 +0000 (20:02 +0000)
commitd686835171c44cf325306f6c87408bef999f5496
tree4181224a2434ce1e0c80ad8758476e67554c9884
parenta42bf9a29707cf503c56201e90aff2bbc5f685ca
gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS import

Add support for up to four planes being imported via the
I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS modifier. In the four plane
scenario, two planes are used for the compressed surface and two planes
are used for the compression metadata.

Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6486>
src/gallium/frontends/dri/dri2.c