]> 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)
commitb8ba8f3b8fafd65a2510f6657697f642fab154d8
treee8878359b104c8ce8ce7c577d8d934938131b562
parentfc4a847c6f6663ccb20ef3f36a4d9c71d21d4a5b
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