mirror-linux/arch
Mario Limonciello (AMD) ad90860bd1 fbcon: Use screen info to find primary device
On systems with non VGA GPUs fbcon can't find the primary GPU because
video_is_primary_device() only checks the VGA arbiter.

Add a screen info check to video_is_primary_device() so that callers
can get accurate data on such systems.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20250811162606.587759-4-superm1@kernel.org
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
2025-09-10 09:35:33 -05:00
..
alpha Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
arc ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:46 -07:00
arm gpio updates for v6.17-rc1 2025-08-09 08:15:43 +03:00
arm64 soc: fixes for 6.17, part 1 2025-08-09 07:58:55 +03:00
csky ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
hexagon hexagon: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:47 -07:00
loongarch LoongArch changes for v6.17 2025-08-08 06:36:48 +03:00
m68k treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
microblaze ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
mips treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
nios2 nios2: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:47 -07:00
openrisc OpenRISC updates for 6.17 2025-08-04 08:37:46 -07:00
parisc Fix access to video_is_primary_device() when compiled without CONFIG_VIDEO 2025-09-10 09:35:33 -05:00
powerpc treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
riscv riscv: dts: thead: Add APB clocks for TH1520 GMACs 2025-08-12 12:52:21 +02:00
s390 more s390 updates for 6.17 merge window 2025-08-08 06:56:55 +03:00
sh Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
sparc Fix access to video_is_primary_device() when compiled without CONFIG_VIDEO 2025-09-10 09:35:33 -05:00
um Mostly cleanups, except: 2025-07-29 20:31:45 -07:00
x86 fbcon: Use screen info to find primary device 2025-09-10 09:35:33 -05:00
xtensa Xtensa updates for v6.17 2025-08-09 07:35:03 +03:00
.gitignore
Kconfig Deferred unwind changes for 6.17 2025-08-01 09:46:24 -07:00