[PATCH 0/5] drm/atomic: Interruptible locks for everyone!

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu Jul 27 12:58:35 UTC 2017


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
4 most common ioctl's to use it.

All other atomic helpers can be converted when Daniel's "acquire_ctx
for everyone!" patch series lands.

Maarten Lankhorst (5):
  drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible
    waiting
  drm/atomic: Convert atomic ioctl locking to interruptible.
  drm/atomic: Convert pageflip ioctl locking to interruptible.
  drm/legacy: Convert cursor ioctl locking to interruptible.
  drm/legacy: Convert setplane ioctl locking to interruptible.

 drivers/gpu/drm/drm_atomic.c       |  7 ++--
 drivers/gpu/drm/drm_debugfs_crc.c  |  2 +-
 drivers/gpu/drm/drm_modeset_lock.c | 75 ++++++++++++++++++--------------------
 drivers/gpu/drm/drm_plane.c        | 21 ++++++-----
 include/drm/drm_modeset_lock.h     | 12 ++++--
 5 files changed, 60 insertions(+), 57 deletions(-)

-- 
2.11.0



More information about the dri-devel mailing list