mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 11:32:28 -04:00
drm/amd/pm: fix gpu reset failure by MP1 state setting
Instead of blocking varied unsupported MP1 state in upper level, defer and skip such MP1 state handling in specific ASIC. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c93ebea0cb
commit
9113a0fb61
@@ -1027,9 +1027,6 @@ int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev,
|
||||
int ret = 0;
|
||||
const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;
|
||||
|
||||
if (mp1_state == PP_MP1_STATE_NONE)
|
||||
return 0;
|
||||
|
||||
if (pp_funcs && pp_funcs->set_mp1_state) {
|
||||
ret = pp_funcs->set_mp1_state(
|
||||
adev->powerplay.pp_handle,
|
||||
|
||||
Reference in New Issue
Block a user