linux_dsm_epyc7002/drivers/gpu/drm/panel
Arnd Bergmann dba9bf0a98 drm: panel: fix excessive stack usage in td028ttec1_prepare
With gcc -O3 in combination with the structleak plug, the compiler can
inline very aggressively, leading to rather large stack usage:

drivers/gpu/drm/panel/panel-tpo-td028ttec1.c: In function 'td028ttec1_prepare':
drivers/gpu/drm/panel/panel-tpo-td028ttec1.c:233:1: error: the frame size of 2768 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
 }

Marking jbt_reg_write_*() as noinline avoids the case where
multiple instances of this function get inlined into the same
stack frame and each one adds a copy of 'tx_buf'.

The compiler is clearly making some bad decisions here, but I
did not open a new bug report as this only happens in combination
with the structleak plugin.

This fixes mmtom ("init/Kconfig: enable -O3 for all arches")

Link: https://lore.kernel.org/lkml/CAK8P3a3jAnFZA3GFRtdYdg1-i-oih3pOQzkkrK-X3BGsFrMiZQ@mail.gmail.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> [fix indent]
Link: https://patchwork.freedesktop.org/patch/msgid/20200108135116.3687988-1-arnd@arndb.de
2020-01-12 21:11:57 +01:00
..
Kconfig drm/panel: Add driver for Sony ACX424AKP panel 2020-01-09 15:12:12 +01:00
Makefile drm/panel: Add driver for Sony ACX424AKP panel 2020-01-09 15:12:12 +01:00
panel-arm-versatile.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-boe-himax8279d.c drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel 2019-12-13 19:29:24 +01:00
panel-feiyang-fy07024di26a30d.c drm/panel: feiyang-fy07024di26a30d: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-ilitek-ili9322.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-ilitek-ili9881c.c drm/panel: ilitek-ili9881c: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-innolux-p079zca.c drm/panel: innolux-p079zca: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-jdi-lt070me05000.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-kingdisplay-kd097d04.c drm/panel: kingdisplay-kd097d04: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-leadtek-ltk500hd1829.c drm/panel: add panel driver for Leadtek LTK500HD1829 2020-01-04 16:46:01 +01:00
panel-lg-lb035q02.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-lg-lg4573.c drm/panel: declare variable as __be16 2020-01-01 19:53:50 +01:00
panel-lvds.c drm/panel: lvds: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-nec-nl8048hl11.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-novatek-nt39016.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-olimex-lcd-olinuxino.c drm/panel: olimex-lcd-olinuxino: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-orisetech-otm8009a.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-osd-osd101t2587-53ts.c drm/panel: osd-osd101t2587-53ts: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-panasonic-vvx10f034n00.c drm/panel: panasonic-vvx10f034n00: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-raspberrypi-touchscreen.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-raydium-rm67191.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-raydium-rm68200.c drm/panel: raydium-rm68200: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-rocktech-jh057n00900.c drm/panel: rocktech-jh057n00900: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-ronbo-rb070d30.c drm/panel: ronbo-rb070d30: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-samsung-ld9040.c drm/panel: add drm_connector argument to get_modes() 2019-12-09 22:57:26 +01:00
panel-samsung-s6d16d0.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e3ha2.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e8aa0.c drm/panel: add drm_connector argument to get_modes() 2019-12-09 22:57:26 +01:00
panel-samsung-s6e63j0x03.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e63m0.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-seiko-43wvf1g.c drm/panel: seiko-43wvf1g: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sharp-lq101r1sx01.c drm/panel: sharp-lq101r1sx01: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sharp-ls037v7dw01.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-sharp-ls043t1le01.c drm/panel: sharp-ls043t1le01: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-simple.c drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support 2020-01-09 20:27:06 +01:00
panel-sitronix-st7701.c drm/panel: sitronix-st7701: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sitronix-st7789v.c drm/panel: sitronix-st7789v: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sony-acx424akp.c drm/panel: Add driver for Sony ACX424AKP panel 2020-01-09 15:12:12 +01:00
panel-sony-acx565akm.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-tpo-td028ttec1.c drm: panel: fix excessive stack usage in td028ttec1_prepare 2020-01-12 21:11:57 +01:00
panel-tpo-td043mtea1.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-tpo-tpg110.c drm/panel: tpo-tpg110: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-truly-nt35597.c drm/panel: add drm_connector argument to get_modes() 2019-12-09 22:57:26 +01:00
panel-xinpeng-xpp055c272.c drm/panel: add panel driver for Xinpeng XPP055C272 panels 2020-01-04 16:20:31 +01:00