[PATCH] drm: simple_kms_helper: Handle the vblank events

Daniel Vetter daniel at ffwll.ch
Tue Sep 27 07:50:53 UTC 2016


On Mon, Sep 26, 2016 at 11:41 AM, Marek Vasut <marex at denx.de> wrote:
> But then, I see a few drivers (arm hdlcd, fsl-dcu,...) doing the same
> thing at random callbacks of CRTC . Shouldn't this event handling be
> consolidated into some generic function and those drivers fixed to
> call it from atomic update ?

tbh they all look a bit suspect. Most of those are probably wrong,
since I rolled them out semi-blindly just to give them some event
handling - they entirely lacked that and wouldn't ever have run on
e.g. wayland.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list