Re: [Intel-gfx] [PATCH v2 6/6] drm/atomic: Clean up steal_encoder

2016-03-02 Thread Ville Syrjälä
On Wed, Mar 02, 2016 at 07:32:30PM +0200, Ville Syrjälä wrote: > On Wed, Feb 24, 2016 at 09:37:33AM +0100, Maarten Lankhorst wrote: > > Now that only encoders can be stolen that are part of the state > > steal_encoder no longer needs to inspect all connectors, > > just those that are part of the at

Re: [Intel-gfx] [PATCH v2 6/6] drm/atomic: Clean up steal_encoder

2016-03-02 Thread Ville Syrjälä
On Wed, Feb 24, 2016 at 09:37:33AM +0100, Maarten Lankhorst wrote: > Now that only encoders can be stolen that are part of the state > steal_encoder no longer needs to inspect all connectors, > just those that are part of the atomic state. steal_encoder() can no longer fail after this, so should c

[Intel-gfx] [PATCH v2 6/6] drm/atomic: Clean up steal_encoder

2016-02-24 Thread Maarten Lankhorst
Now that only encoders can be stolen that are part of the state steal_encoder no longer needs to inspect all connectors, just those that are part of the atomic state. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/drm_atomic_helper.c | 11 ++- 1 file changed, 2 insertions(+), 9 del