drm/amd/pm: do not expose power implementation details to display
authorEvan Quan <evan.quan@amd.com>
Mon, 22 Nov 2021 03:09:08 +0000 (11:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:14 +0000 (17:51 -0500)
commit13f5dbd6e3d9a4ea0a8d061bb2a2f19bb21cdacc
tree443d8f70a9c1fa4ffbfcb8dc4ca2d575c6bad9d4
parent79c65f3fcbb1288b84473d45e6d001820a971d54
drm/amd/pm: do not expose power implementation details to display

Display is another client of our power APIs. It's not proper to spike
into power implementation details there.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h