summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2019-09-23 13:32:06 -0700
committerNanley Chery <[email protected]>2019-10-28 10:47:04 -0700
commit0eaf293b47966576b21aa28ddf74de27669210c6 (patch)
treef68e5888351a5e7dffe128e3efc9a0b4916e7006 /src/intel
parentd0fcc2dd503f734f10f879ad666c27fd81c44262 (diff)
anv/formats: Disable I915_FORMAT_MOD_Y_TILED_CCS on TGL+
The format of the CCS has changed. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_formats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c
index 2e2fc851057..9431dab6012 100644
--- a/src/intel/vulkan/anv_formats.c
+++ b/src/intel/vulkan/anv_formats.c
@@ -733,6 +733,11 @@ get_wsi_format_modifier_properties_list(const struct anv_physical_device *physic
anv_format->planes[0].isl_format))
continue;
+ /* Gen12's CCS layout changes compared to Gen9-11. */
+ if (mod_info->modifier == I915_FORMAT_MOD_Y_TILED_CCS &&
+ physical_device->info.gen >= 12)
+ continue;
+
vk_outarray_append(&out, mod_props) {
mod_props->modifier = modifiers[i];
if (isl_drm_modifier_has_aux(modifiers[i]))