Re: [PATCH] drm/amdgpu: Use real power source in powerplay instand of hardcode

2018-06-13 Thread Alex Deucher
On Mon, Jun 4, 2018 at 4:48 AM, Rex Zhu wrote: > 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. > > Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher >

[PATCH] drm/amdgpu: Use real power source in powerplay instand of hardcode

2018-06-04 Thread Rex Zhu
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. Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h| 2 +- drivers/gpu/drm/amd/am