drm/amdkfd: Fix reserved SDMA queues handling
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 31 May 2023 15:22:03 +0000 (11:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:44:56 +0000 (12:44 -0400)
commit597364adc0fcf71617b3adbe647b6eec76e27554
treef05deee37094c25399b8aa2969196bca717d3d3e
parentc1ac2ea802f5adfd1d128fc01375af9c5f113932
drm/amdkfd: Fix reserved SDMA queues handling

This patch fixes a regression caused by a bad merge where
the handling of reserved SDMA queues was accidentally removed.
With the fix, the reserved SDMA queues are again correctly
marked as unavailable for allocation.

Fixes: a805889a1531 ("drm/amdkfd: Update SDMA queue management for GFX9.4.3")
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h