ACK: [PATCH 1/1] vgaarb: Use ACPI HID name to find integrated GPU
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Fri May 21 14:35:23 UTC 2021
On 21/05/2021 09:07, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1929217
>
> 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 <alexander.deucher at amd.com>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Link: https://patchwork.freedesktop.org/patch/msgid/20210519135723.525997-1-kai.heng.feng@canonical.com
> (cherry picked from commit 808a4ae5fa7dfba286a274e729e40522500c57fe linux-next)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
> ---
> drivers/gpu/vga/vgaarb.c | 31 ++++++++++++++++++++++++++-----
> 1 file changed, 26 insertions(+), 5 deletions(-)
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
Best regards,
Krzysztof
More information about the kernel-team
mailing list