drm/amdgpu/sdma4.4.2: add apu support in sdma queue reset

Remove apu check in sdma queue reset.

Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Jesse Zhang
2024-12-13 19:19:45 +08:00
committed by Alex Deucher
parent 6c9c97387b
commit 39b0fa29f6

View File

@@ -1602,7 +1602,7 @@ static int sdma_v4_4_2_reset_queue(struct amdgpu_ring *ring, unsigned int vmid)
int i, r;
u32 inst_mask;
if ((adev->flags & AMD_IS_APU) || amdgpu_sriov_vf(adev))
if (amdgpu_sriov_vf(adev))
return -EINVAL;
/* stop queue */