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>
Showing
- drivers/gpu/drm/amd/pm/amdgpu_dpm.c 460 additions, 1 deletiondrivers/gpu/drm/amd/pm/amdgpu_dpm.c
- drivers/gpu/drm/amd/pm/amdgpu_pm.c 182 additions, 337 deletionsdrivers/gpu/drm/amd/pm/amdgpu_pm.c
- drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h 70 additions, 90 deletionsdrivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c 0 additions, 3 deletionsdrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
Loading
Please register or sign in to comment