Commit 8d64b2aa authored by Janne Grunau's avatar Janne Grunau Committed by Greg Kroah-Hartman
Browse files

soc: apple: rtkit: Use high prio work queue



[ Upstream commit 22af2fac ]

rtkit messages as communication with the DCP firmware for framebuffer
swaps or input events are time critical so use WQ_HIGHPRI to prevent
user space CPU load to increase latency.
With kwin_wayland 6's explicit sync mode user space load was able to
delay the IOMFB rtkit communication enough to miss vsync for surface
swaps. Minimal test scenario is constantly resizing a glxgears
Xwayland window.

Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Reviewed-by: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://lore.kernel.org/r/20250226-apple-soc-misc-v2-3-c3ec37f9021b@svenpeter.dev


Signed-off-by: default avatarSven Peter <sven@svenpeter.dev>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0c14267f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment