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, 5 Jul 2018 21:38:58 +0000 (16:38 -0500)
commit24aeefcdee255d21cc43bb511d5fdb760062199d
tree08f6801076346fcff95d1b0fa36948e3ffeb4953
parentaa03c075d02f89ae5acae10df1c8a3b095a440e7
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c