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

Stefan Bader stefan.bader at canonical.com
Tue May 4 15:43:04 UTC 2021


On 30.04.21 18:16, 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(-)
> 
Applied to hirsute:linux/master-next. Thanks.

-Stefan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210504/acf0521c/attachment.sig>


More information about the kernel-team mailing list