[Intel-gfx] [PATCH 01/26] drm/atomic-helper: use for_each_*_in_state more

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon May 30 12:17:06 UTC 2016


Op 29-05-16 om 20:34 schreef Daniel Vetter:
> This avois leaking drm_atomic_state internals into the helpers. The
> only place where this still happens after this patch is drm_atomic_helper_swap_state().
> It's unavoidable there, and maybe a good indicator we should actually
> move that function into drm_atomic.c.
Would be a good idea, commit is part of atomic core and there's really only one way to do swap_state.
Drivers can swap any required internal state before or after the call.

~Maarten.


More information about the dri-devel mailing list