]> 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 19:55:00 +0000 (14:55 -0500)
commit3a62be103a1ef78c9acc0398a55e6e38acb83a31
treee8878359b104c8ce8ce7c577d8d934938131b562
parentde4d0fcf95cd62efe104873e49656cfe12a58a97
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