drm/amdgpu: Add amdgpu_atpx_get_dhandle()
authorLyude Paul <lyude@redhat.com>
Tue, 26 Jun 2018 01:09:06 +0000 (21:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jun 2018 20:32:18 +0000 (15:32 -0500)
commit4aa5d5eb82bb237d0bb3a38b2a7555054d018081
tree2551e1d46953f95978b6c453a2e11155a1067a34
parent2cd5fe22d9a45cdf11c62bbe8db3ce9101207510
drm/amdgpu: Add amdgpu_atpx_get_dhandle()

Since it seems that some vendors are storing the ATIF ACPI methods under
the same handle that ATPX lives under instead of the device's own
handle, we're going to need to be able to retrieve this handle later so
we can probe for ATIF there.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c