[Intel-gfx] [PATCH 7/8] drm/irq: Implement a generic vblank_wait function

Daniel Vetter daniel.vetter at ffwll.ch
Thu Jul 31 00:54:44 PDT 2014


On Thu, Jul 31, 2014 at 3:14 AM, Michel Dänzer <michel at daenzer.net> wrote:
> I think it would be better to refactor drm_wait_vblank() than to
> reinvent it.

That's the ioctl implementation which spends most of its time decoding
ioctl structures. If we take that out then there's about half a line
which would be shared (since a lot of the stuff in there is ums gunk
that we don't want to carry over to a kms-only internal interface). So
imo that doesn't make sense.
-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