]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb71607bca393fc63230072dea2ffb6075d8830d
tree98dfd51c879df19428f3f6795fd32a8f2136ccb3
parente22f8cc66b7a18a7b789b30fe6fad57a53003698
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