vmwgfx: Add fence events
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 10 Oct 2011 10:23:26 +0000 (12:23 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2011 14:46:55 +0000 (15:46 +0100)
commit57c5ee79acba9582762c09c269e0e2ae1adf1b31
tree26b2148b81e7a7c1785d9d07d45c68bb1117bfb5
parent8bf445cee3127de3779a395d08d1ada2ad70161e
vmwgfx: Add fence events

Add a way to send DRM events down the gpu fifo by attaching them to
fence objects. This may be useful for Xserver swapbuffer throttling and
page-flip done notifications.

Bump version to 2.2 to signal the availability of the FENCE_EVENT ioctl.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c
include/drm/vmwgfx_drm.h