ACK: [SRU] [H/Unstable/OEM-5.10] [PATCH 0/1] Fix kernel panic at boot on dual GFX systems

Tim Gardner tim.gardner at canonical.com
Tue May 4 14:34:12 UTC 2021


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 4/30/21 10:16 AM, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1926792
> 
> [Impact]
> On dual GFX systems, if amdgpu fails to probe a device, vgaarb for
> another GFX triggers a NULL pointer dereference and freeze the system.
> 
> [Fix]
> Defer VGA client registering so resources are handled properly when
> amdgpu probe fails.
> 
> [Test]
> With the patch applied, no more kernel panic when vgaarb is changing the
> VGA mode.
> 
> [Where problems could occur]
> VGA clients won't take effect until a successful probe, so unless there
> is very subtle bug in vgaarb or vgaswitcheroo, it's very unlikely to
> introduce any regression.
> 
> Kai-Heng Feng (1):
>    drm/amdgpu: Register VGA clients after init can no longer fail
> 
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 36 ++++++++++------------
>   1 file changed, 17 insertions(+), 19 deletions(-)
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list