]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/pm: implement dpm sdma reset function
authorJiadong Zhu <Jiadong.Zhu@amd.com>
Fri, 27 Sep 2024 09:55:26 +0000 (17:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:45 +0000 (10:26 -0500)
commit610696505c3a2875f2863a5adc899ec2b0203180
treeca77ecc9e07a7c6d2affd39644acee91a1603a4e
parent70158b4512f6334887bc5dea34e2058243e14164
drm/amd/pm: implement dpm sdma reset function

Implement sdma soft reset by sending MSG_ResetSDMA on smu 13.0.6.

v2: Add firmware version for the reset message.
v3: Add ip version check. Print inst_mask on failure.

Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c