[PATCH] drm/atomic: pass old crtc state to atomic_begin/flush.

Daniel Vetter daniel at ffwll.ch
Mon Jun 15 00:10:15 PDT 2015


On Fri, Jun 12, 2015 at 11:18:22AM +0200, Maarten Lankhorst wrote:
> In intel it's useful to keep track of some state changes with old
> crtc state vs new state, for example to disable initial planes or
> when a modeset's prevented during fastboot.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Hm, thus far the approach has been that the various ->check callbacks diff
the state and set appropriate stuff like needs_modeset or planes_changed.
And with intel_crtc->atomic we've kinda started to build up similar
things for i915. What do you plan to use this for?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list