Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/i915/display: Unpin cursor worker in vblank worker series.
@ 2024-04-25 10:26 Maarten Lankhorst
  2024-04-25 10:26 ` [PATCH 1/3] drm: Add drm_vblank_work_flush_all() Maarten Lankhorst
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Maarten Lankhorst @ 2024-04-25 10:26 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe, Maarten Lankhorst

Use the vblank worker to unpin fb, for the legacy cursor fastpath and atomic cursor slowpath.
This prevents pipe fault errors from the cursor plane in Xe.

A small race appears to exist in kms_universal_plane@cursor-fb-leak on dg2, not sure why. I tried reproducing it and failed.

Maarten Lankhorst (2):
  drm: Add drm_vblank_work_flush_all().
  drm/i915: Use the same vblank worker for atomic unpin

Ville Syrjälä (1):
  drm/i915: Use vblank worker to unpin old legacy cursor fb safely

 drivers/gpu/drm/drm_vblank_work.c             | 22 +++++++++++++
 .../gpu/drm/i915/display/intel_atomic_plane.c | 13 +++++++-
 .../gpu/drm/i915/display/intel_atomic_plane.h |  2 ++
 drivers/gpu/drm/i915/display/intel_crtc.c     | 31 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_cursor.c   | 26 ++++++++++++++--
 drivers/gpu/drm/i915/display/intel_cursor.h   |  3 ++
 drivers/gpu/drm/i915/display/intel_display.c  |  3 ++
 .../drm/i915/display/intel_display_types.h    |  3 ++
 include/drm/drm_vblank_work.h                 |  2 ++
 9 files changed, 102 insertions(+), 3 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-04-25 16:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 10:26 [PATCH 0/3] drm/i915/display: Unpin cursor worker in vblank worker series Maarten Lankhorst
2024-04-25 10:26 ` [PATCH 1/3] drm: Add drm_vblank_work_flush_all() Maarten Lankhorst
2024-04-25 10:26 ` [PATCH 2/3] drm/i915: Use vblank worker to unpin old legacy cursor fb safely Maarten Lankhorst
2024-04-25 10:26 ` [PATCH 3/3] drm/i915: Use the same vblank worker for atomic unpin Maarten Lankhorst
2024-04-25 11:11 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Unpin cursor worker in vblank worker series Patchwork
2024-04-25 11:11 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-04-25 11:17 ` ✓ Fi.CI.BAT: success " Patchwork
2024-04-25 16:01 ` ✗ Fi.CI.IGT: failure " Patchwork

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