Re: [PATCH 13/19] drm: simplify the locking in the GETCRTC ioctl

2017-03-27 Thread Daniel Vetter
On Mon, Mar 27, 2017 at 08:13:17PM -0400, Harry Wentland wrote: > On Wednesday, March 22, 2017 10:50:52 PM EDT Daniel Vetter wrote: > > No need to grab both plane and crtc locks at the same time, we can do > > them one after the other. If userspace races it'll get what it > > deserves either way. >

Re: [PATCH 13/19] drm: simplify the locking in the GETCRTC ioctl

2017-03-27 Thread Harry Wentland
On Wednesday, March 22, 2017 10:50:52 PM EDT Daniel Vetter wrote: > No need to grab both plane and crtc locks at the same time, we can do > them one after the other. If userspace races it'll get what it > deserves either way. > > This removes another user of drm_modeset_lock_crtc. There's only one