Re: [Intel-gfx] [PATCH v2.1 3/6] drm/atomic: Always call steal_encoder, v2.

2016-03-04 Thread Daniel Vetter
On Tue, Mar 01, 2016 at 02:52:05PM +0100, Maarten Lankhorst wrote: > There's no need to have a separate function to get the crtc > which is stolen, this can already be found when actually > stealing the encoder. > > drm_for_each_connector already checks for connection_mutex, so > use that macro no

[Intel-gfx] [PATCH v2.1 3/6] drm/atomic: Always call steal_encoder, v2.

2016-03-01 Thread Maarten Lankhorst
There's no need to have a separate function to get the crtc which is stolen, this can already be found when actually stealing the encoder. drm_for_each_connector already checks for connection_mutex, so use that macro now. Changes since v1: - Do not check for NULL crtc in connector_state, this m