]> git.baikalelectronics.ru Git - kernel.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)
committerHelge Deller <deller@gmx.de>
Sat, 4 Jun 2022 13:47:03 +0000 (15:47 +0200)
commit55e681ed8fce111ae87660f33e59c2a4c2d0cc65
tree68e2577f3687ecdaf51f39b79f4405e4cd4cfb4c
parent8483886f3fe734a9c041a8f8ebbb7d35450265d2
parisc/stifb: Implement fb_is_primary_device()

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+
arch/parisc/include/asm/fb.h
drivers/video/console/sticore.c
drivers/video/fbdev/stifb.c