drm/amd/pm: correct smu 13.0.0/7 mp1 state setup
authorEvan Quan <evan.quan@amd.com>
Tue, 12 Jul 2022 06:23:49 +0000 (14:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:04 +0000 (09:31 -0400)
commit326f0672153e0ff5b19f0ff9d6b5f75a64a9c2b5
tree804e0cc95eb8fd48998c13e1605b14b661ad64df
parent25dfc8fab47fb0d7231154e07e20b5fc0221f96e
drm/amd/pm: correct smu 13.0.0/7 mp1 state setup

Only PP_MP1_STATE_UNLOAD is supported for now. For other mp1 state, we
should just ignore it. Otherwise, there will be errors coming out.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c