aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson2010-10-26 05:35:11 -0500
committerChris Wilson2010-10-26 05:41:40 -0500
commit057fab3382c02af54126ce395c43d4e6dce9439a (patch)
tree8800cfcffacf278067e00fe6715c7e9c348d310a /include/drm/i915_drm.h
parentc5286f4a871e054b63dee8a60a6f06574c4ca1b8 (diff)
downloadexternal-libgbm-057fab3382c02af54126ce395c43d4e6dce9439a.tar.gz
external-libgbm-057fab3382c02af54126ce395c43d4e6dce9439a.tar.xz
external-libgbm-057fab3382c02af54126ce395c43d4e6dce9439a.zip
intel: Prepare for BLT ring split.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'include/drm/i915_drm.h')
-rw-r--r--include/drm/i915_drm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 75944134..bd930614 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -206,6 +206,7 @@ typedef struct _drm_i915_sarea {
206#define DRM_IOCTL_I915_SET_VBLANK_PIPE DRM_IOW( DRM_COMMAND_BASE + DRM_I915_SET_VBLANK_PIPE, drm_i915_vblank_pipe_t) 206#define DRM_IOCTL_I915_SET_VBLANK_PIPE DRM_IOW( DRM_COMMAND_BASE + DRM_I915_SET_VBLANK_PIPE, drm_i915_vblank_pipe_t)
207#define DRM_IOCTL_I915_GET_VBLANK_PIPE DRM_IOR( DRM_COMMAND_BASE + DRM_I915_GET_VBLANK_PIPE, drm_i915_vblank_pipe_t) 207#define DRM_IOCTL_I915_GET_VBLANK_PIPE DRM_IOR( DRM_COMMAND_BASE + DRM_I915_GET_VBLANK_PIPE, drm_i915_vblank_pipe_t)
208#define DRM_IOCTL_I915_VBLANK_SWAP DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_VBLANK_SWAP, drm_i915_vblank_swap_t) 208#define DRM_IOCTL_I915_VBLANK_SWAP DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_VBLANK_SWAP, drm_i915_vblank_swap_t)
209#define DRM_IOCTL_I915_HWS_ADDR DRM_IOW(DRM_COMMAND_BASE + DRM_I915_HWS_ADDR, struct drm_i915_gem_init)
209#define DRM_IOCTL_I915_GEM_INIT DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_INIT, struct drm_i915_gem_init) 210#define DRM_IOCTL_I915_GEM_INIT DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_INIT, struct drm_i915_gem_init)
210#define DRM_IOCTL_I915_GEM_EXECBUFFER DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER, struct drm_i915_gem_execbuffer) 211#define DRM_IOCTL_I915_GEM_EXECBUFFER DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER, struct drm_i915_gem_execbuffer)
211#define DRM_IOCTL_I915_GEM_EXECBUFFER2 DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2) 212#define DRM_IOCTL_I915_GEM_EXECBUFFER2 DRM_IOW(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
@@ -276,6 +277,7 @@ typedef struct drm_i915_irq_wait {
276#define I915_PARAM_HAS_PAGEFLIPPING 8 277#define I915_PARAM_HAS_PAGEFLIPPING 8
277#define I915_PARAM_HAS_EXECBUF2 9 278#define I915_PARAM_HAS_EXECBUF2 9
278#define I915_PARAM_HAS_BSD 10 279#define I915_PARAM_HAS_BSD 10
280#define I915_PARAM_HAS_BLT 11
279 281
280typedef struct drm_i915_getparam { 282typedef struct drm_i915_getparam {
281 int param; 283 int param;
@@ -617,8 +619,11 @@ struct drm_i915_gem_execbuffer2 {
617 __u32 num_cliprects; 619 __u32 num_cliprects;
618 /** This is a struct drm_clip_rect *cliprects */ 620 /** This is a struct drm_clip_rect *cliprects */
619 __u64 cliprects_ptr; 621 __u64 cliprects_ptr;
622#define I915_EXEC_RING_MASK (7<<0)
623#define I915_EXEC_DEFAULT (0<<0)
620#define I915_EXEC_RENDER (1<<0) 624#define I915_EXEC_RENDER (1<<0)
621#define I915_EXEC_BSD (1<<1) 625#define I915_EXEC_BSD (2<<0)
626#define I915_EXEC_BLT (3<<0)
622 __u64 flags; 627 __u64 flags;
623 __u64 rsvd1; 628 __u64 rsvd1;
624 __u64 rsvd2; 629 __u64 rsvd2;