Re: [Intel-gfx] [RFC][PATCH] drm: Insane but more fine grained locking for planes

2013-04-17 Thread Daniel Vetter
On Wed, Apr 17, 2013 at 08:04:52PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Instead of locking all modeset locks during plane updates, use just > a single CRTC mutex. To make that work, track the CRTC that "owns" > the plane currently. During enable/update that means

[Intel-gfx] [RFC][PATCH] drm: Insane but more fine grained locking for planes

2013-04-17 Thread ville . syrjala
From: Ville Syrjälä Instead of locking all modeset locks during plane updates, use just a single CRTC mutex. To make that work, track the CRTC that "owns" the plane currently. During enable/update that means the new CRTC, and during disable it means the old CRTC. Since the plane state is no long