winsys/radeon: set has_image_opcodes to unbreak gfx6-7

Fixes: 96913bbf3e - ac/surface: force linear image layout for chips not supporting image opcodes

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9073

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23221>
(cherry picked from commit fe03351bee)
This commit is contained in:
Marek Olšák 2023-05-24 16:59:10 -04:00 committed by Eric Engestrom
parent 600c9dff96
commit d86101f048
2 changed files with 2 additions and 1 deletions

View file

@ -625,7 +625,7 @@
"description": "winsys/radeon: set has_image_opcodes to unbreak gfx6-7",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "96913bbf3eba74e2bf509fe7196be073eaf2ea60"
},

View file

@ -581,6 +581,7 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws)
ws->info.num_physical_sgprs_per_simd = 512;
ws->info.num_physical_wave64_vgprs_per_simd = 256;
ws->info.has_3d_cube_border_color_mipmap = true;
ws->info.has_image_opcodes = true;
ws->info.spi_cu_en_has_effect = false;
ws->info.spi_cu_en = 0xffff;
ws->info.never_stop_sq_perf_counters = false;