public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/3] drm/i915: implement internal workqueues
@ 2023-05-11  8:20 Luca Coelho
  2023-05-11  8:20 ` [Intel-gfx] [PATCH 1/3] drm/i915: add a dedicated workqueue inside drm_i915_private Luca Coelho
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Luca Coelho @ 2023-05-11  8:20 UTC (permalink / raw)
  To: intel-gfx

Hi,

This series implements internal workqueues in the i915 driver in order
to avoid using the system queue.  We add one generic workqueue in the
drm_i915_private structure, one specific for wake references and one
in a self-test.

This is based on Tetsuo's work[1] and is required to get rid of the
flush_scheduled_work() usage.

Please review.

[1] https://patchwork.freedesktop.org/series/114608/

Cheers,
Luca.


Luca Coelho (3):
  drm/i915: add a dedicated workqueue inside drm_i915_private
  drm/i915/gt: create workqueue dedicated to wake references
  drm/i915/selftests: add local workqueue for SW fence selftest

 drivers/gpu/drm/i915/display/intel_display.c  |  5 ++--
 .../drm/i915/display/intel_display_driver.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_dmc.c      |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |  2 +-
 .../drm/i915/display/intel_dp_link_training.c |  5 ++--
 drivers/gpu/drm/i915/display/intel_drrs.c     |  4 ++-
 drivers/gpu/drm/i915/display/intel_fbc.c      |  2 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c    |  3 ++-
 drivers/gpu/drm/i915/display/intel_hdcp.c     | 23 ++++++++++-------
 drivers/gpu/drm/i915/display/intel_hotplug.c  | 18 ++++++++-----
 drivers/gpu/drm/i915/display/intel_opregion.c |  3 ++-
 drivers/gpu/drm/i915/display/intel_pps.c      |  4 ++-
 drivers/gpu/drm/i915/display/intel_psr.c      |  8 +++---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |  7 +++++-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c     | 15 +++++++++--
 drivers/gpu/drm/i915/gt/intel_engine_pm.h     |  3 ++-
 .../drm/i915/gt/intel_execlists_submission.c  |  5 ++--
 .../gpu/drm/i915/gt/intel_gt_buffer_pool.c    | 10 +++++---
 drivers/gpu/drm/i915/gt/intel_gt_irq.c        |  2 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c   | 10 ++++----
 drivers/gpu/drm/i915/gt/intel_reset.c         |  2 +-
 drivers/gpu/drm/i915/gt/intel_rps.c           | 20 ++++++++-------
 drivers/gpu/drm/i915/gt/mock_engine.c         |  8 +++++-
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c  |  2 +-
 drivers/gpu/drm/i915/i915_driver.c            |  7 ++++++
 drivers/gpu/drm/i915/i915_drv.h               |  3 ++-
 drivers/gpu/drm/i915/i915_request.c           |  2 +-
 drivers/gpu/drm/i915/intel_wakeref.c          | 21 ++++++++++++----
 drivers/gpu/drm/i915/intel_wakeref.h          | 25 ++++++++++++-------
 .../gpu/drm/i915/selftests/i915_sw_fence.c    | 16 +++++++++---
 30 files changed, 162 insertions(+), 77 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-05-19  7:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11  8:20 [Intel-gfx] [PATCH 0/3] drm/i915: implement internal workqueues Luca Coelho
2023-05-11  8:20 ` [Intel-gfx] [PATCH 1/3] drm/i915: add a dedicated workqueue inside drm_i915_private Luca Coelho
2023-05-12 12:34   ` Tvrtko Ursulin
2023-05-11  8:20 ` [Intel-gfx] [PATCH 2/3] drm/i915/gt: create workqueue dedicated to wake references Luca Coelho
2023-05-12  9:04   ` Tvrtko Ursulin
2023-05-12  9:10     ` Coelho, Luciano
2023-05-12  9:32       ` Tvrtko Ursulin
2023-05-12  9:54         ` Coelho, Luciano
2023-05-12 12:16           ` Tvrtko Ursulin
2023-05-17 11:18             ` Coelho, Luciano
2023-05-19  7:56               ` Tvrtko Ursulin
2023-05-11  8:20 ` [Intel-gfx] [PATCH 3/3] drm/i915/selftests: add local workqueue for SW fence selftest Luca Coelho
2023-05-11  9:05 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: implement internal workqueues Patchwork
2023-05-11  9:05 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-05-11  9:19 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-05-11 10:55 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox