Skip to content

drm/atomic: Interruptible locks for everyone!

Maarten Lankhorst dri-devel intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 2 repliesIn review
  2. v2 posting 1/26 patches 1 replySuperseded
  3. v15 patches 8 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible waiting, v2.drivers/gpu/drm/drm_debugfs_crc.c drivers/gpu/drm/drm_modeset_lock.c include/drm/drm_modeset_lock.h+57 -532 replies
2/6drm/atomic: Convert atomic ioctl locking to interruptible.drivers/gpu/drm/drm_atomic.c+4 -30 replies
3/6drm/legacy: Convert cursor ioctl locking to interruptible.drivers/gpu/drm/drm_plane.c+4 -30 replies
4/6drm/legacy: Convert setplane ioctl locking to interruptible.drivers/gpu/drm/drm_plane.c+4 -30 replies
5/6drm/atomic: Convert pageflip ioctl locking to interruptible.drivers/gpu/drm/drm_plane.c+4 -30 replies
6/6drm/crtc: Convert setcrtc ioctl locking to interruptible.drivers/gpu/drm/drm_crtc.c+4 -30 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchDaniel VetterEmil Velikov
1/6R-b R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] drm/atomic: Interruptible locks for everyone!

drm_atomic_commit could previous have always failed when waits failed, but locking was always done uninterruptibly. Add infrastructure to make it possible for callers to choose interruptible locking, and convert the 5 most common ioctl's to use it.

All other atomic helpers can be converted when additional tests are added to kms_atomic_interruptible.

Changes since last version:
- Small fixes to the preparation patch
- Convert setcrtc as well.

Maarten Lankhorst (6):
drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible
waiting, v2.
drm/atomic: Convert atomic ioctl locking to interruptible. drm/legacy: Convert cursor ioctl locking to interruptible. drm/legacy: Convert setplane ioctl locking to interruptible. drm/atomic: Convert pageflip ioctl locking to interruptible. drm/crtc: Convert setcrtc ioctl locking to interruptible.

 drivers/gpu/drm/drm_atomic.c       |  7 +--
 drivers/gpu/drm/drm_crtc.c         |  7 +--
 drivers/gpu/drm/drm_debugfs_crc.c  |  2 +-
 drivers/gpu/drm/drm_modeset_lock.c | 96 +++++++++++++++++++-------------------
 drivers/gpu/drm/drm_plane.c        | 21 +++++----
 include/drm/drm_modeset_lock.h     | 12 +++--
 6 files changed, 77 insertions(+), 68 deletions(-)
Signature · 6 lines
2.14.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx