Files
linux/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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tomi Valkeinen <[email protected]>
2025-06-12 21:29:52 +03:00
..
…
2025-06-12 21:29:52 +03:00
…
…
2024-10-28 10:16:07 +02:00
…
…
…
…
…