]> 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)
commit99afef16590855675b35b63b9bc2f71c81755639
tree06f1f6cd1152dc0429b5ed38103386892837afa0
parent7d4bc7778e29d7ee221f1877ac93082f5f1db2cd
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