author | Jesse Barnes <jbarnes@virtuousgeek.org> | |
Thu, 3 Dec 2009 22:17:26 +0000 (14:17 -0800) | ||
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | |
Thu, 3 Dec 2009 22:17:26 +0000 (14:17 -0800) |
Conflicts:
include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
1 | 2 | |||
---|---|---|---|---|
include/drm/drm.h | patch | | diff1 | | diff2 | | blob | history |
include/drm/drm_mode.h | patch | | diff1 | | diff2 | | blob | history |
include/drm/i915_drm.h | patch | | diff1 | | diff2 | | blob | history |
xf86drm.h | patch | | diff1 | | diff2 | | blob | history |
xf86drmMode.c | patch | | diff1 | | diff2 | | blob | history |
xf86drmMode.h | patch | | diff1 | | diff2 | | blob | history |
diff --cc include/drm/drm.h
index 649c46f30de63315d4536b81267364673f010ad0,c381874f7e746f1720762145f79f46be6438dadc..5408c08c7e70dbca90257b67e02366d3a78869d7
--- 1/include/drm/drm.h
--- 2/shared-core/drm.h
+++ b/include/drm/drm.h
#define DRM_IOCTL_MODE_GETPROPERTY DRM_IOWR(0xAA, struct drm_mode_get_property)
#define DRM_IOCTL_MODE_SETPROPERTY DRM_IOWR(0xAB, struct drm_mode_connector_set_property)
#define DRM_IOCTL_MODE_GETPROPBLOB DRM_IOWR(0xAC, struct drm_mode_get_blob)
-
#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, uint32_t)
+#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)
+
+ /*@}*/
/**
* Device specific ioctls should only be in their respective headers
diff --cc include/drm/drm_mode.h
index 852505e7a2dd4299b9c86cfd9af4d944b8a4447c,fceac3c82ad849c8c51153feb31f5ce347716291..1fd30266934f33231c64e40981f2195e5d8dbaee
+++ b/include/drm/drm_mode.h
};
struct drm_mode_crtc_lut {
- uint32_t crtc_id;
- uint32_t gamma_size;
+ __u32 crtc_id;
+ __u32 gamma_size;
/* pointers to arrays */
- uint64_t red;
- uint64_t green;
- uint64_t blue;
+ __u64 red;
+ __u64 green;
+ __u64 blue;
};
+ #define DRM_MODE_PAGE_FLIP_EVENT 0x01
+ #define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
+
+ struct drm_mode_crtc_page_flip {
+ uint32_t crtc_id;
+ uint32_t fb_id;
+ uint32_t flags;
+ uint32_t reserved;
+ uint64_t user_data;
+ };
+
#endif
diff --cc include/drm/i915_drm.h
Simple merge
diff --cc xf86drm.h
Simple merge
diff --cc xf86drmMode.c
Simple merge
diff --cc xf86drmMode.h
Simple merge