linux-loongson/drivers/gpu/drm/omapdrm/dss
Arnd Bergmann 660942f244 drm: omapdrm: reduce clang stack usage
The thread sanitizer makes the stack usage explode from extra variable
spills in dispc_runtime_resume:

drivers/gpu/drm/omapdrm/dss/dispc.c:4735:27: error: stack frame size (1824) exceeds limit (1280) in 'dispc_runtime_resume' [-Werror,-Wframe-larger-than]

I could not figure out what exactly is going on here, but I see that
whenever dispc_restore_context() is not inlined, that function
and its caller shrink below 900 bytes combined of stack usage.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250610092737.2641862-1-arnd@kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
2025-06-12 21:29:52 +03:00
..
base.c drm/omap: Fix possible NULL dereference 2024-09-16 07:12:39 +03:00
dispc_coefs.c
dispc.c drm: omapdrm: reduce clang stack usage 2025-06-12 21:29:52 +03:00
dispc.h
dpi.c drm/omap: dss: dpi: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:08 +02:00
dsi.c drm/omap: dss: dsi: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:08 +02:00
dsi.h
dss.c drm/omap/dss: Use syscon_regmap_lookup_by_phandle_args 2025-01-24 09:20:48 +02:00
dss.h drm/omap: Clean up deadcode functions 2024-10-28 10:16:07 +02:00
hdmi4_cec.c
hdmi4_cec.h
hdmi4_core.c
hdmi4_core.h
hdmi4.c drm/omap: dss: hdmi4: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:09 +02:00
hdmi5_core.c drm/omap: Remove hdmi5_core_handle_irqs() 2025-01-24 09:32:23 +02:00
hdmi5_core.h drm/omap: Remove hdmi5_core_handle_irqs() 2025-01-24 09:32:23 +02:00
hdmi5.c drm/omap: dss: hdmi5: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:09 +02:00
hdmi_common.c
hdmi_phy.c
hdmi_pll.c
hdmi_wp.c
hdmi.h
omapdss.h drm/omap: Fix possible NULL dereference 2024-09-16 07:12:39 +03:00
output.c
pll.c
sdi.c drm/omap: dss: sdi: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:09 +02:00
venc.c drm/omap: dss: venc: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:09 +02:00
video-pll.c