dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/atomic: Fix encoder stealing.
@ 2016-02-18  8:54 Maarten Lankhorst
  2016-02-18  8:54 ` [PATCH 1/3] drm/atomic: Always call steal_encoder Maarten Lankhorst
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Maarten Lankhorst @ 2016-02-18  8:54 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-02-24  8:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18  8:54 [PATCH 0/3] drm/atomic: Fix encoder stealing Maarten Lankhorst
2016-02-18  8:54 ` [PATCH 1/3] drm/atomic: Always call steal_encoder Maarten Lankhorst
2016-02-18  8:54 ` [PATCH 2/3] drm/atomic: Refuse to steal encoders with index < conn_idx Maarten Lankhorst
2016-02-18 11:09   ` Daniel Vetter
2016-02-18 11:22     ` Maarten Lankhorst
2016-02-18  8:54 ` [PATCH 3/3] drm/atomic: Refuse to steal encoders from connectors not part of the state Maarten Lankhorst
2016-02-18 11:07   ` Daniel Vetter
2016-02-18 11:18     ` Maarten Lankhorst
2016-02-18 12:43       ` Daniel Vetter
2016-02-18 12:59         ` Ville Syrjälä
2016-02-24  8:51           ` Maarten Lankhorst
2016-02-18 11:35     ` Maarten Lankhorst
2016-02-18 11:11 ` [Intel-gfx] [PATCH 0/3] drm/atomic: Fix encoder stealing Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).