OSDN Git Service

drm/amdgpu: disentangle runtime pm and vga_switcheroo
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 18:25:37 +0000 (13:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 21:42:53 +0000 (16:42 -0500)
commit3840c5bcc2456381ca53f3f9604915aa36249faf
treea44d7a8fcd8ceb7f6270c268dee563b37ecea5d1
parent6ae6c7d404ec3e7595c2c6bee8df211a34da5c64
drm/amdgpu: disentangle runtime pm and vga_switcheroo

Originally we only supported runtime pm on PX/HG laptops
so vga_switcheroo and runtime pm are sort of entangled.

Attempt to logically separate them.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c