diff options
| author | 2018-06-04 16:39:38 +0800 | |
|---|---|---|
| committer | 2018-06-15 12:20:45 -0500 | |
| commit | 600ae890be59910e65b75fe25a1b900d83c0329c (patch) | |
| tree | 5e7472260ca37f77c496304b36e36eb929f41006 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/pp: Remove SAMU support in powerplay (diff) | |
| download | wireguard-linux-600ae890be59910e65b75fe25a1b900d83c0329c.tar.xz wireguard-linux-600ae890be59910e65b75fe25a1b900d83c0329c.zip | |
drm/amdgpu: Use real power source in powerplay instand of hardcode
1. move ac_power to struct pm from dpm, so can be shared with powerplay
2. remove power_source in powerplay, use adev->pm.ac_power instand.
3. update ac_power before dispatch power task.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
