diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-04 00:25:47 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-04 00:25:47 +0100 |
commit | 884840aa3ce3214259e69557be5b4ce0d781ffa4 (patch) | |
tree | 98dfd51c879df19428f3f6795fd32a8f2136ccb3 /include/drm/drm.h | |
parent | drm/ttm: Fix build failure due to missing struct page (diff) | |
download | linux-884840aa3ce3214259e69557be5b4ce0d781ffa4.tar.xz linux-884840aa3ce3214259e69557be5b4ce0d781ffa4.zip |
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>
Diffstat (limited to 'include/drm/drm.h')
-rw-r--r-- | include/drm/drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h index 0114ac94f969..43a35b092f04 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -697,6 +697,7 @@ struct drm_gem_open { #define DRM_IOCTL_MODE_ADDFB DRM_IOWR(0xAE, struct drm_mode_fb_cmd) #define DRM_IOCTL_MODE_RMFB DRM_IOWR(0xAF, unsigned int) #define DRM_IOCTL_MODE_PAGE_FLIP DRM_IOWR(0xB0, struct drm_mode_crtc_page_flip) +#define DRM_IOCTL_MODE_DIRTYFB DRM_IOWR(0xB1, struct drm_mode_fb_dirty_cmd) /** * Device specific ioctls should only be in their respective headers |