]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: replace use of system_wq with system_percpu_wq
authorMarco Crivellari <marco.crivellari@suse.com>
Fri, 31 Oct 2025 10:48:46 +0000 (11:48 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 9 Jan 2026 19:23:43 +0000 (20:23 +0100)
commitab8559d44de5750e03778c42311aec8dd41a61f5
treee4a94065c8bf9a99f47471b7cd443b938fbe76bd
parent0650f4909af2bafe49322c91dd8dd0f68abfdf4f
drm/rockchip: replace use of system_wq with system_percpu_wq

Currently if a user enqueue a work item using schedule_delayed_work() the
used wq is "system_wq" (per-cpu wq) while queue_delayed_work() use
WORK_CPU_UNBOUND (used when a cpu is not specified). The same applies to
schedule_work() that is using system_wq and queue_work(), that makes use
again of WORK_CPU_UNBOUND.

This lack of consistency cannot be addressed without refactoring the API.

system_wq should be the per-cpu workqueue, yet in this name nothing makes
that clear, so replace system_wq with system_percpu_wq.

The old wq (system_wq) will be kept for a few release cycles.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251031104846.119503-3-marco.crivellari@suse.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c