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:22:26 +0000 (10:22 +0200)
commit8b8fe78cae1d09229f544f4129b8c87ca7a8f367
treeffd40988fac07e764930c06164a821b25505f3c0
parentfced6c0622da59939832d7b72e61e6e95925330a
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