aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorKai-Heng Feng <[email protected]>2021-05-19 13:57:23 +0000
committerAlex Deucher <[email protected]>2021-05-20 18:55:56 +0000
commit808a4ae5fa7dfba286a274e729e40522500c57fe (patch)
treea6e2ae697c8dc49a9f988ba7afb22b5ee8d4914b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/bridge: anx7625: Synchronously run runtime suspend. (diff)
downloadkernel-808a4ae5fa7dfba286a274e729e40522500c57fe.tar.gz
kernel-808a4ae5fa7dfba286a274e729e40522500c57fe.zip
vgaarb: Use ACPI HID name to find integrated GPU
Commit 3d42f1ddc47a ("vgaarb: Keep adding VGA device in queue") assumes the first device is an integrated GPU. However, on AMD platforms an integrated GPU can have higher PCI device number than a discrete GPU. Integrated GPU on ACPI platform generally has _DOD and _DOS method, so use that as predicate to find integrated GPU. If the new strategy doesn't work, fallback to use the first device as boot VGA. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Kai-Heng Feng <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions