drm: add flip-work helper
authorRob Clark <robdclark@gmail.com>
Wed, 7 Aug 2013 18:41:54 +0000 (14:41 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:32:26 +0000 (10:32 +1000)
commitcabaafc78935521c5abc7ec72278dbaa5400c995
treec5af38231d7484f421a6abfce09109a0b9d669c7
parentb17df86ece5e674c6f50b9a219067b9a80ea9dd1
drm: add flip-work helper

A small helper to queue up work to do, from workqueue context, after a
flip.  Typically useful to defer unreffing buffers that may be read by
the display controller until vblank.

v1: original
v2: wire up docbook + couple docbook fixes

Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Documentation/DocBook/drm.tmpl
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_flip_work.c [new file with mode: 0644]
include/drm/drm_flip_work.h [new file with mode: 0644]