aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJesse Zhang <[email protected]>2025-06-11 07:02:09 +0000
committerAlex Deucher <[email protected]>2025-06-18 17:10:44 +0000
commit09b585592fa481384597c81388733aed4a04dd05 (patch)
tree81dfb9c714a60c1d99dfe85830a778aabaa09091 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: add kicker fws loading for gfx11/smu13/psp13 (diff)
downloadkernel-09b585592fa481384597c81388733aed4a04dd05.tar.gz
kernel-09b585592fa481384597c81388733aed4a04dd05.zip
drm/amdgpu: Fix SDMA engine reset with logical instance ID
This commit makes the following improvements to SDMA engine reset handling: 1. Clarifies in the function documentation that instance_id refers to a logical ID 2. Adds conversion from logical to physical instance ID before performing reset using GET_INST(SDMA0, instance_id) macro 3. Improves error messaging to indicate when a logical instance reset fails 4. Adds better code organization with blank lines for readability The change ensures proper SDMA engine reset by using the correct physical instance ID while maintaining the logical ID interface for callers. V2: Remove harvest_config check and convert directly to physical instance (Lijo) Suggested-by: Jonathan Kim <[email protected]> Signed-off-by: Jesse Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 5efa6217c239ed1ceec0f0414f9b6f6927387dfc) Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions