linux/drivers/gpu/drm/i915/pxp
Marco Crivellari 36ed3648a2
drm/i915: replace use of system_unbound_wq with system_dfl_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_unbound_wq should be the default workqueue so as not to enforce
locality constraints for random work whenever it's not required.

This patch continues the effort to refactor worqueue APIs, which has
begun with the change introducing new workqueues:

commit 128ea9f6cc ("workqueue: Add system_percpu_wq and system_dfl_wq")

The old system_unbound_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>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Link: https://patch.msgid.link/20251104100032.61525-2-marco.crivellari@suse.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2026-03-05 13:58:22 -05:00
..
intel_pxp_cmd_interface_42.h drm/i915/pxp: Invalidate all PXP fw sessions during teardown 2023-01-27 15:22:24 -05:00
intel_pxp_cmd_interface_43.h drm/i915/pxp: fix typos in i915/pxp files 2025-01-23 05:48:23 -05:00
intel_pxp_cmd_interface_cmn.h drm/i915/pxp: limit drm-errors or warning on firmware API failures 2023-04-05 09:19:32 -07:00
intel_pxp_cmd.c drm/i915/pxp: Promote pxp subsystem to top-level of i915 2022-12-09 08:36:30 -08:00
intel_pxp_cmd.h
intel_pxp_debugfs.c drm/i915: use drm->debugfs_root for creating debugfs files 2025-08-07 11:30:26 +03:00
intel_pxp_debugfs.h drm/i915/pxp: Promote pxp subsystem to top-level of i915 2022-12-09 08:36:30 -08:00
intel_pxp_gsccs.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
intel_pxp_gsccs.h drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions' 2025-04-16 12:04:04 +03:00
intel_pxp_huc.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
intel_pxp_huc.h
intel_pxp_irq.c drm/i915: replace use of system_unbound_wq with system_dfl_wq 2026-03-05 13:58:22 -05:00
intel_pxp_irq.h
intel_pxp_pm.c drm/i915/pxp/mtl: intel_pxp_init_hw needs runtime-pm inside pm-complete 2023-08-15 13:28:13 -07:00
intel_pxp_pm.h drm/i915/pxp/mtl: intel_pxp_init_hw needs runtime-pm inside pm-complete 2023-08-15 13:28:13 -07:00
intel_pxp_regs.h drm/i915/pxp: Add MTL hw-plumbing enabling for KCR operation 2023-05-11 17:26:25 -07:00
intel_pxp_session.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
intel_pxp_session.h drm/i915/pxp: Trigger the global teardown for before suspending 2023-01-27 15:23:17 -05:00
intel_pxp_tee.c drm: move i915_pxp_tee_interface.h under include/drm/intel 2024-05-31 16:11:25 +03:00
intel_pxp_tee.h
intel_pxp_types.h drm/i915/pxp: fix typos in i915/pxp files 2025-01-23 05:48:23 -05:00
intel_pxp.c drm/i915: replace use of system_unbound_wq with system_dfl_wq 2026-03-05 13:58:22 -05:00
intel_pxp.h drm/i915/pxp & drm/xe/pxp: Figure out pxp instance from the gem object 2025-03-03 12:16:04 +02:00