summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <superm1@kernel.org>2025-08-11 19:26:05 +0300
committerMario Limonciello (AMD) <superm1@kernel.org>2025-09-10 17:35:33 +0300
commitad90860bd10ee3ed387077aed88828b139339976 (patch)
treee36828fc7097102a3d6d7109b1231e58df0c40bf /drivers/platform/x86/intel/pmt/class.c
parent337bf13aa9ddab8ae47f2677ab75cf69ae33437b (diff)
downloadlinux-ad90860bd10ee3ed387077aed88828b139339976.tar.xz
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>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions