]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c4d9bfb3532ad00272cbae683022b467397626e
tree06f1f6cd1152dc0429b5ed38103386892837afa0
parenta6d5f2e8cd040f4a273e8b49e2317c0c0c2aa173
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