[PATCH 1/3] drm/amdgpu/sdma4.4.2: add apu support in sdma queue reset
Jesse.zhang@amd.com
jesse.zhang at amd.com
Fri Dec 13 11:40:57 UTC 2024
From: "Jesse.zhang at amd.com" <Jesse.zhang at amd.com>
Remove apu check in sdma queue reset.
Signed-off-by: Jesse Zhang <jesse.zhang at amd.com>
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
index 5e1cb1c2c0f8..e39f1f495ea8 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
@@ -1600,7 +1600,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 */
--
2.25.1
More information about the amd-gfx
mailing list