From 3e48613b482a8ca01ea5719e9cc342a9d4b28db0 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 24 Nov 2009 18:00:12 +0100 Subject: Bring dirty code from old branch --- include/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/drm/drm.h') diff --git a/include/drm/drm.h b/include/drm/drm.h index 649c46f3..8e1ffb86 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -696,6 +696,7 @@ struct drm_gem_open { #define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xAD, struct drm_mode_fb_cmd) #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_DIRTYFB DRM_IOWR(0xB0, struct drm_mode_fb_dirty_cmd) /** * Device specific ioctls should only be in their respective headers -- cgit v1.2.3 From ac5595abc1c28b2c10a1463143e83d17415736f1 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 2 Dec 2009 19:39:16 +0100 Subject: Change the number on the dirty ioctl to match upstream --- include/drm/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/drm/drm.h') diff --git a/include/drm/drm.h b/include/drm/drm.h index 8e1ffb86..225ab6ce 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -696,7 +696,7 @@ struct drm_gem_open { #define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xAD, struct drm_mode_fb_cmd) #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_DIRTYFB DRM_IOWR(0xB0, struct drm_mode_fb_dirty_cmd) +#define DRM_IOCTL_MODE_DIRTYFB DRM_IOWR(0xB1, struct drm_mode_fb_dirty_cmd) /** * Device specific ioctls should only be in their respective headers -- cgit v1.2.3