[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Thu Jun 2 14:43:51 UTC 2016
Op 02-06-16 om 16:21 schreef Daniel Vetter:
> ... and use it in msm&vc4. Again just want to encapsulate
> drm_atomic_state internals a bit.
>
> The const threading is a bit awkward in vc4 since C sucks, but I still
> think it's worth to enforce this. Eventually I want to make all the
> obj->state pointers const too, but that's a lot more work ...
>
> v2: Provide safe macro to wrap up the unsafe helper better, suggested
> by Maarten.
Much better, thanks!
Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
More information about the dri-devel
mailing list