[PATCH] drm: Per-plane locking

2014-11-07 Thread Thierry Reding
On Mon, Nov 03, 2014 at 12:07:02AM +0100, Daniel Vetter wrote: [...] > diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h > index 28931a23d96c..70595ff565ba 100644 > --- a/include/drm/drm_modeset_lock.h > +++ b/include/drm/drm_modeset_lock.h > @@ -127,11 +127,13 @@ void

[PATCH] drm: Per-plane locking

2014-11-03 Thread Ville Syrjälä
On Mon, Nov 03, 2014 at 12:07:02AM +0100, Daniel Vetter wrote: > Turned out to be much simpler on top of my latest atomic stuff than > what I've feared. Some details: > > - Drop the modeset_lock_all snakeoil in drm_plane_init. Same > justification as for the equivalent change in drm_crtc_init

[PATCH] drm: Per-plane locking

2014-11-03 Thread Daniel Vetter
On Mon, Nov 3, 2014 at 10:02 AM, Daniel Vetter wrote: > On Mon, Nov 3, 2014 at 9:42 AM, Ville Syrjälä > wrote: >> Were you planning to convert setplane over to this? > > Well yeah, I've forgotten about that one ... Will fix and resend. Hm, update_plane isn't really a big problem, but

[PATCH] drm: Per-plane locking

2014-11-03 Thread Daniel Vetter
On Mon, Nov 3, 2014 at 9:42 AM, Ville Syrjälä wrote: > Were you planning to convert setplane over to this? Well yeah, I've forgotten about that one ... Will fix and resend. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

[PATCH] drm: Per-plane locking

2014-11-03 Thread Daniel Vetter
Turned out to be much simpler on top of my latest atomic stuff than what I've feared. Some details: - Drop the modeset_lock_all snakeoil in drm_plane_init. Same justification as for the equivalent change in drm_crtc_init done in commit d0fa1af40e784aaf7ebb7ba8a17b229bb3fa4c21

[PATCH] drm: Per-plane locking

2014-11-03 Thread Daniel Vetter
Turned out to be much simpler on top of my latest atomic stuff than what I've feared. Some details: - Drop the modeset_lock_all snakeoil in drm_plane_init. Same justification as for the equivalent change in drm_crtc_init done in commit d0fa1af40e784aaf7ebb7ba8a17b229bb3fa4c21