]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc/stifb: Implement fb_is_primary_device()
authorHelge Deller <deller@gmx.de>
Thu, 2 Jun 2022 11:50:44 +0000 (13:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:29:26 +0000 (10:29 +0200)
commit31b73c6e202d90d29ff44901423fef5808ff86b9
tree49b6ba9a1f6538414192b4cdb84241f68230489a
parent14229490d6c9291e6a27bbcdaee5307c2de890d8
parisc/stifb: Implement fb_is_primary_device()

commit cf936af790a3ef5f41ff687ec91bfbffee141278 upstream.

Implement fb_is_primary_device() function, so that fbcon detects if this
framebuffer belongs to the default graphics card which was used to start
the system.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/fb.h
drivers/video/console/sticore.c
drivers/video/fbdev/stifb.c