Fixes: ba10fb3f7f4 ("radeonsi: preserve the scanout flag for shared resources on gfx9 and gfx10")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5314>
surf->alignment = MAX2(surf->alignment, surf->cmask_alignment);
}
+ if (surf->is_displayable)
+ surf->flags |= RADEON_SURF_SCANOUT;
+
if (surf->dcc_size &&
/* dcc_size is computed on GFX9+ only if it's displayable. */
(info->chip_class >= GFX9 || !get_display_flag(config, surf))) {