]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: do not expose power implementation details to amdgpu_pm.c
authorEvan Quan <evan.quan@amd.com>
Mon, 22 Nov 2021 03:05:22 +0000 (11:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:14 +0000 (17:51 -0500)
commit75201cd428261f2d074670dae4ca90e03b1cef05
treec4ff9df5434597b2f9733f09c4ec9b2c3b1eafd5
parent504995804709e05e8ec7f975dccd9219fa251182
drm/amd/pm: do not expose power implementation details to amdgpu_pm.c

amdgpu_pm.c holds all the user sysfs/hwmon interfaces. It's 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/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c