]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Use logical instance ID for SDMA v4_4_2 queue operations
authorJesse Zhang <jesse.zhang@amd.com>
Wed, 11 Jun 2025 07:07:11 +0000 (15:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:19 +0000 (12:19 -0400)
commit3bab282dfe25dff7a55add432f56898505a6cc6c
tree60099acd591b567d7147c3b11169bc0b9c3dad80
parent5efa6217c239ed1ceec0f0414f9b6f6927387dfc
drm/amdgpu: Use logical instance ID for SDMA v4_4_2 queue operations

Simplify SDMA v4_4_2 queue reset and stop operations by:
1. Removing GET_INST(SDMA0) conversion for ring->me
2. Using the logical instance ID (ring->me) directly
3. Maintaining consistent behavior with other SDMA queue operations

This change aligns with the existing queue handling logic where
ring->me already represents the correct instance identifier.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c