Module: Mesa Branch: main Commit: 5358d8a11096efcc5f49d9153e74e5898a6e91d4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5358d8a11096efcc5f49d9153e74e5898a6e91d4
Author: Pierre-Eric Pelloux-Prayer <[email protected]> Date: Mon Nov 8 10:58:14 2021 +0100 radeonsi/sqtt: reserve a vmid when sqtt is enabled Based on https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13695 Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13696> --- src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index a475e2199f9..d042bc2472f 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -116,7 +116,8 @@ static bool do_winsys_init(struct amdgpu_winsys *ws, ws->debug_all_bos = debug_get_option_all_bos(); #endif ws->reserve_vmid = strstr(debug_get_option("R600_DEBUG", ""), "reserve_vmid") != NULL || - strstr(debug_get_option("AMD_DEBUG", ""), "reserve_vmid") != NULL; + strstr(debug_get_option("AMD_DEBUG", ""), "reserve_vmid") != NULL || + strstr(debug_get_option("AMD_DEBUG", ""), "sqtt") != NULL; ws->zero_all_vram_allocs = strstr(debug_get_option("R600_DEBUG", ""), "zerovram") != NULL || driQueryOptionb(config->options, "radeonsi_zerovram");
