[Intel-gfx] [PATCH v2 0/6] drm/atomic: Interruptible locks for everyone!
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Tue Sep 12 13:36:40 UTC 2017
Op 12-09-17 om 14:41 schreef Maarten Lankhorst:
> 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(-)
>
Please ignore this series, should have been sent to dri-devel with intel-gfx to cc. I'm resending.
More information about the Intel-gfx
mailing list