drm/amdgpu/gfx12: set UNORD_DISPATCH in compute MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Aug 2024 17:11:22 +0000 (13:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2024 14:53:25 +0000 (10:53 -0400)
commit40318a2406bd426c6f4591269669c04e8eda571d
treef71f8bc31cc5876005e23cccf389ed6492d4ffd4
parentb05d6476ae2dde8eb447f907ab689083499edeaa
drm/amdgpu/gfx12: set UNORD_DISPATCH in compute MQDs

This needs to be set to 1 to avoid a potential deadlock in
the GC 10.x and newer.  On GC 9.x and older, this needs
to be set to 0. This can lead to hangs in some mixed
graphics and compute workloads.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3575
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c