summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2022-09-08 17:28:40 -0700
committerJordan Justen <jordan.l.justen@intel.com>2022-09-09 11:43:51 -0700
commit0aefc8ce3a60de4777174a3c87fca659d0c446b2 (patch)
tree11c5053ee1ba44453395d3a8218dff09fc414439
parentb8c026a3651dbb9524784b3c7687382cb8dad9ec (diff)
isl: Change msc disable from is_dg2 to gfx12.5+no-mcs-gfx125
Suggested-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/intel/isl/isl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 14a53493b1f..136831e6826 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -2097,8 +2097,8 @@ isl_surf_get_mcs_surf(const struct isl_device *dev,
if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY)
return false;
- /* We are seeing failures with mcs on dg2, so disable it for now. */
- if (intel_device_info_is_dg2(dev->info))
+ /* We are seeing failures with mcs on gfx125, so disable it for now. */
+ if (ISL_GFX_VERX10(dev) >= 125)
return false;
/* The following are true of all multisampled surfaces */