intel/isl: Restore CCS_E support for YUYV and UYVY
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 6 Dec 2021 14:00:32 +0000 (09:00 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 23:31:23 +0000 (23:31 +0000)
commit0e075227d8800a8c9fbedf49e4253146f751df4e
treeb42e41b2aca9df54ef4bbf2c652ad05c9b19e814
parent5439e3c4128283b3bc5cf9c660f7f4ad306d7bd3
intel/isl: Restore CCS_E support for YUYV and UYVY

These formats are used when creating surfaces with the
I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS modifier.

Makes iris pass the out-of-tree piglit test,
ext_image_dma_buf_import-intel-modifiers.

Fixes: 1433fe7860a ("intel/isl: Unify fmt checks in isl_surf_supports_ccs")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14082>
src/intel/isl/isl_format.c