drm/amdgpu: add check for ACPI power resources
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 18:07:30 +0000 (13:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:35:12 +0000 (11:35 -0500)
commitb10c1c5b3a4e3f1f166ab48c3619d8348a4e9c5d
tree6d551b5a055eb61430448db69979a2a9f04c6f3e
parentfd496ca892f52df6eb0a0bfcdef1378aed966624
drm/amdgpu: add check for ACPI power resources

Check if the device has ACPI power resources so we can
enable runtime pm if so.

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