]> git.ipfire.org Git - thirdparty/linux.git/commit
media: synopsys: hdmirx: replace use of system_unbound_wq with system_dfl_wq
authorMarco Crivellari <marco.crivellari@suse.com>
Tue, 5 May 2026 12:40:58 +0000 (14:40 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 7 May 2026 21:29:50 +0000 (11:29 -1000)
commit54eff31301a0ef4e9472bbd7f45e279fa55f1440
treeabb33a493241f7dff15c58a4e1a42d3a08863311
parentbc7a5b645ca60b4067b51cda1d4a0f0bf5616169
media: synopsys: hdmirx: replace use of system_unbound_wq with system_dfl_wq

This patch continues the effort to refactor workqueue APIs, which has begun
with the changes introducing new workqueues and a new alloc_workqueue flag:

   commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq")
   commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag")

The point of the refactoring is to eventually alter the default behavior of
workqueues to become unbound by default so that their workload placement is
optimized by the scheduler.

Before that to happen, workqueue users must be converted to the better named
new workqueues with no intended behaviour changes:

   system_wq -> system_percpu_wq
   system_unbound_wq -> system_dfl_wq

This way the old obsolete workqueues (system_wq, system_unbound_wq) can be
removed in the future.

Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c