]> 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)
commit9d88a0d9be2961081695092eb121db354cfd300e
tree68e2577f3687ecdaf51f39b79f4405e4cd4cfb4c
parentdc062e7bea8c121b3462de1e9b7c13c96806b55a
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