drm/amdgpu: Remove duplicated power source update
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 23 Aug 2018 03:46:13 +0000 (11:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:10:55 +0000 (15:10 -0500)
commitd3200a536ccbc047cee408c44a92235c4e84c91b
tree06f1f6cd1152dc0429b5ed38103386892837afa0
parent1f06dee8f784e4f3af4add95076659ba95ffa9fb
drm/amdgpu: Remove duplicated power source update

when ac/dc switch, driver will be notified by acpi event.
then the power source will be updated. so don't need to
get power source when set power state.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c