APPLIED[R]: [SRU][R/S][PATCH 0/1] Fix incorrect boot_display reporting on multi-GPU systems

Edoardo Canepa edoardo.canepa at canonical.com
Thu Jul 30 22:06:27 UTC 2026


Applied to R:linux/master-next. Thanks.

On 7/17/26 11:10, Aaron Ma via kernel-team wrote:
> BugLink: https://bugs.launchpad.net/bugs/2161036
>
> SRU Justification:
>
> [Impact]
> On multi-GPU systems, a VGA-compatible device that is not driving the display
> can incorrectly be reported as the primary graphics device through the
> boot_display sysfs attribute.
>
> [Fix]
> Apply upstream commit 596b3678326d3d1aed7c19423b6746f1ce09688a
> ("x86/video: Only fall back to vga_default_device() without screen info").
>
> When framebuffer screen information is valid, use it exclusively to identify
> the primary device. Fall back to vga_default_device() only when no framebuffer
> has been set up.
>
> [Test Plan]
> Boot a multi-GPU system and verify that boot_display identifies only the GPU
> backing the framebuffer. Verify fallback behavior when no framebuffer has
> been initialized.
>
> [Where problems could occur]
> The change is limited to primary display-device detection in
> arch/x86/video/video-common.c. The main risk is incorrect identification of the
> primary GPU on systems with unusual or incomplete framebuffer information.
>
> Mario Limonciello (1):
>    x86/video: Only fall back to vga_default_device() without screen info
>
>   arch/x86/video/video-common.c | 23 ++++++++++++++---------
>   1 file changed, 14 insertions(+), 9 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20260731/046dd2da/attachment.sig>


More information about the kernel-team mailing list