mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radv: Correctly select SDMA support for PRIME blit.
Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10317 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27015>
This commit is contained in:
parent
bc65d14ddb
commit
436b89e838
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ radv_patch_image_from_extra_info(struct radv_device *device, struct radv_image *
|
|||
image_info->surf_index = NULL;
|
||||
}
|
||||
|
||||
if (create_info->prime_blit_src && device->physical_device->rad_info.gfx_level == GFX9) {
|
||||
if (create_info->prime_blit_src && !device->physical_device->rad_info.sdma_supports_compression) {
|
||||
/* Older SDMA hw can't handle DCC */
|
||||
image->planes[plane].surface.flags |= RADEON_SURF_DISABLE_DCC;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue