[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state
Daniel Vetter
daniel at ffwll.ch
Thu Jun 2 14:59:49 UTC 2016
On Thu, Jun 02, 2016 at 04:43:51PM +0200, Maarten Lankhorst wrote:
> 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>
Also fixed up the subject and the 2 typos eric spotted and applied it to
drm-misc. Thanks for thefeedback!
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list