drm/amdgpu: put MQDs in VRAM
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Apr 2023 19:30:13 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:30:58 +0000 (09:30 -0400)
commit1cfb4d6121276a829aa94d0e32a7f5e1830ebc21
tree2ae2e559ca864785228e330f44b8b1f23b9eb334
parent967a66396e4668ef314e06a0391e67aa1cf6d058
drm/amdgpu: put MQDs in VRAM

Reduces preemption latency.
Only enable this for gfx10 and 11 for now
to avoid changing behavior on gfx 8 and 9.

v2: move MES MQDs into VRAM as well (YuBiao)
v3: enable on gfx10, 11 only (Alex)
v4: minor style changes, document why gfx10/11 only (Alex)

Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/mes_v10_1.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c