Commit 2f0fbe06 authored by Sagar Ghuge's avatar Sagar Ghuge
Browse files

intel/isl: Don't reconfigure aux surfaces for MCS

If aux for MCS is already configured, don't configure again.

v2: Fix missing period in commit message (Nanley Chery)
Signed-off-by: Sagar Ghuge's avatarSagar Ghuge <>
Reviewed-by: Nanley Chery's avatarNanley Chery <>
parent 810fc75d
......@@ -1773,6 +1773,9 @@ isl_surf_get_mcs_surf(const struct isl_device *dev,
if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY)
return false;
if (mcs_surf->size_B > 0)
return false;
/* The following are true of all multisampled surfaces */
assert(surf->samples > 1);
assert(surf->dim == ISL_SURF_DIM_2D);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment