[Intel-gfx] [PATCH 0/3] drm/atomic: Fix encoder stealing.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu Feb 18 08:54:40 UTC 2016


This is a small change to make encoder stealing work more as expected.
First patch is a small cleanup, second patch is a small fix
for a crash I was hitting on my skylake with MST. The third patch
refuses to steal encoders from connectors not part of the state.
I had an alternate version that would restart in that case, but I feel
that in those cases the connector <-> encoder mapping would stay the same
regardless, so it would be easier to understand if we would instead fail
right away.

Maarten Lankhorst (3):
  drm/atomic: Always call steal_encoder.
  drm/atomic: Refuse to steal encoders with index < conn_idx.
  drm/atomic: Refuse to steal encoders from connectors not part of the
    state.

 drivers/gpu/drm/drm_atomic_helper.c | 121 +++++++++++++-----------------------
 1 file changed, 44 insertions(+), 77 deletions(-)

-- 
2.1.0



More information about the Intel-gfx mailing list