linux_dsm_epyc7002/arch/arm/mach-pxa
Daniel Vetter 97b67986f1 fbcon: call fbcon_fb_(un)registered directly
With

commit 6104c37094
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Aug 1 17:32:07 2017 +0200

    fbcon: Make fbcon a built-time depency for fbdev

we have a static dependency between fbcon and fbdev, and we can
replace the indirection through the notifier chain with a function
call.

v2: Sam Ravnborg noticed that mach-pxa/am200epd.c has a notifier too,
and listens to this.

...

Looking at the code it seems to wait for some fb to show up, so that
it can get the framebuffer base address from the fb_info struct. I
suspect his is some firmware fbdev. Then it uses that information to
let the real fbdev driver (metronomefb.c by the looks) get at the
framebuffer memory.

This doesn't looke like it's easy to fix (except by deleting the
entire thing, seems untouched since 2008, we might be able to get away
with that), so let's just stuff a few #ifdef into fb.h and fbmem.c and
cry over them for a bit.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: Yisheng Xie <ysxie@foxmail.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: linux-fbdev@vger.kernel.org
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Steve Sakoman <sakoman@gmail.com>
Cc: Steve Sakoman <steve@sakoman.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-11-daniel.vetter@ffwll.ch
2019-06-12 20:27:45 +02:00
..
include/mach ARM: pxa: remove unused empty mach/pxa25x-udc.h file 2019-01-24 21:47:42 +01:00
am200epd.c fbcon: call fbcon_fb_(un)registered directly 2019-06-12 20:27:45 +02:00
am300epd.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
balloon3.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
capc7117.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
cm-x2xx-pci.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
cm-x2xx-pci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm-x2xx.c ARM: pxa: cm-x2xx: avoid duplicate macro warnings 2015-12-15 23:50:00 +01:00
cm-x255.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
cm-x270.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
cm-x300.c ARM: SoC platform updates 2018-12-31 17:27:54 -08:00
colibri-evalboard.c ARM: pxa: Delete platform data for CD/WP 2018-12-17 08:26:24 +01:00
colibri-pxa3xx.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa270-income.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
colibri-pxa270.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa300.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa320.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri.h mtd: nand: use Marvell reworked NAND controller driver with all platforms 2018-02-23 21:55:04 +01:00
corgi_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
corgi.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
csb701.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
csb726.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
csb726.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
devices.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
devices.h ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
em-x270.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
eseries-irq.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
eseries.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ezx.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
generic.c ARM: sa11x0/pxa: get rid of get_clock_tick_rate 2016-10-18 09:12:37 +02:00
generic.h ARM: pxa: remove irq init from dt machines 2016-09-09 18:08:01 +02:00
gumstix.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
gumstix.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
h5000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
h5000.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
himalaya.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
hx4700.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
icontrol.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
idp.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
idp.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
irq.c ARM: pxa: irq: fix handling of ICMR registers in suspend/resume 2018-07-07 13:25:15 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
littleton.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
littleton.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lpd270.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
lpd270.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
lubbock.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
magician.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
mainstone.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
Makefile ARM: pxa: remove raumfeld board files and defconfig 2019-01-09 21:39:37 +01:00
Makefile.boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mfp-pxa2xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa2xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa3xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa300.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa320.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa930.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mioa701_bootresume.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 429 2019-06-05 17:37:16 +02:00
mioa701.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
mioa701.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mp900.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mxm8x10.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
mxm8x10.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
palm27x.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palm27x.h mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmld.c MMC core: 2018-12-28 16:52:18 -08:00
palmt5.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmt5.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtc.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtreo.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmtreo.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtx.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pcm027.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
pcm027.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcm990_baseboard.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcm990-baseboard.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
pm.c ARM: pxa: Delete an error message for a failed memory allocation in pxa_pm_init() 2017-06-14 08:32:21 +02:00
pm.h ARM: pxa: move extern declarations to pm.h 2016-02-01 21:44:27 +01:00
poodle.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
pxa2xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa3xx-ulpi.c ARM: pxa: ulpi: fix ulpi timeout and slowpath warn 2018-03-07 14:19:47 +01:00
pxa3xx.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa25x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x-udc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa300.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa300.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa320.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa320.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa930.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa930.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa_cplds_irqs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pxa-dt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
regs-rtc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-u2d.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.c ARM: pxa: prevent PXA270 occasional reboot freezes 2013-12-11 16:35:16 -08:00
saar.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
sharpsl_pm.c treewide: Use DEVICE_ATTR_RO 2018-01-09 16:34:34 +01:00
sharpsl_pm.h ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
sleep.S ARM: pxa: correct errata number for PXA270 2014-07-04 20:30:42 +08:00
smemc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spitz_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
spitz.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
standby.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
stargate2.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
tavorevb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
tosa_bt.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
tosa-bt.c ARM: pxa/tosa-bt: add MODULE_LICENSE tag 2018-01-22 12:36:03 +01:00
tosa.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
trizeps4.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
udc.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
viper.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
viper.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
vpac270.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
xcep.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
z2.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
zeus.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
zeus.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
zylonite_pxa300.c ARM: pxa: Add gpio descriptor lookup tables for MMC CD/WP 2018-12-17 08:26:24 +01:00
zylonite_pxa320.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
zylonite.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
zylonite.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00