drm: Add dirty ioctl and property
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 3 Dec 2009 23:25:47 +0000 (23:25 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Dec 2009 23:25:47 +0000 (09:25 +1000)
commit884840aa3ce3214259e69557be5b4ce0d781ffa4
tree98dfd51c879df19428f3f6795fd32a8f2136ccb3
parentc3a73ba13bac7fd96030f39202b2d37fb19c46a6
drm: Add dirty ioctl and property

This commit adds a ioctl and property to allow userspace
to notify the kernel that a framebuffer has changed. Instead
of snooping the command stream this allows finer grained
tracking of which areas have changed.

The primary user for this functionality is virtual hardware
like the vmware svga device, but also Xen hardware likes to
be notify. There is also real hardware like DisplayLink and
DisplayPort that might take advantage of this ioctl.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_drv.c
include/drm/drm.h
include/drm/drm_crtc.h
include/drm/drm_mode.h