[Intel-gfx] [PATCH v3 5/5] drm/atomic: Add encoder_mask to crtc_state, v3.

Gustavo Padovan gustavo at padovan.org
Wed Feb 3 12:45:07 UTC 2016


Hi Maarten,

2016-01-28 Maarten Lankhorst <maarten.lankhorst at linux.intel.com>:

> This allows iteration over encoders without requiring connection_mutex.
> 
> Changes since v1:
> - Add a set_best_encoder helper function and update encoder_mask inside
>   it.
> Changes since v2:
> - Relax the WARN_ON(!crtc), with explanation.
> - Call set_best_encoder when connector is moved between crtc's.
> - Add some paranoia to steal_encoder to prevent accidentally setting
>   best_encoder to NULL.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

	Gustavo


More information about the Intel-gfx mailing list