drm/amdgpu: Enable tunneling on high-priority compute queues
authorFriedrich Vock <friedrich.vock@gmx.de>
Sat, 2 Dec 2023 00:17:40 +0000 (01:17 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 20:23:59 +0000 (15:23 -0500)
commit91963397c49aa2907aeafa52d929555dcbc9cd07
tree31a7b2aa708eab6c43d8c413c4ed3f65d8dd6e10
parent94b1e028e15c94362420f9f3f711fafbf9d52996
drm/amdgpu: Enable tunneling on high-priority compute queues

This improves latency if the GPU is already busy with other work.
This is useful for VR compositors that submit highly latency-sensitive
compositing work on high-priority compute queues while the GPU is busy
rendering the next frame.

Userspace merge request:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26462

v2: bump driver version (Alex)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Friedrich Vock <friedrich.vock@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c