aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/drm/i915_drm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index adc23926..846897cf 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -228,7 +228,7 @@ typedef struct _drm_i915_sarea {
228#define DRM_IOCTL_I915_GEM_GET_APERTURE DRM_IOR (DRM_COMMAND_BASE + DRM_I915_GEM_GET_APERTURE, struct drm_i915_gem_get_aperture) 228#define DRM_IOCTL_I915_GEM_GET_APERTURE DRM_IOR (DRM_COMMAND_BASE + DRM_I915_GEM_GET_APERTURE, struct drm_i915_gem_get_aperture)
229#define DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GET_PIPE_FROM_CRTC_ID, struct drm_i915_get_pipe_from_crtc_id) 229#define DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GET_PIPE_FROM_CRTC_ID, struct drm_i915_get_pipe_from_crtc_id)
230#define DRM_IOCTL_I915_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MADVISE, struct drm_i915_gem_madvise) 230#define DRM_IOCTL_I915_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MADVISE, struct drm_i915_gem_madvise)
231#define DRM_IOCTL_I915_OVERLAY_PUT_IMAGE DRM_IOW(DRM_COMMAND_BASE + DRM_IOCTL_I915_OVERLAY_ATTRS, struct drm_intel_overlay_put_image) 231#define DRM_IOCTL_I915_OVERLAY_PUT_IMAGE DRM_IOW(DRM_COMMAND_BASE + DRM_I915_OVERLAY_PUT_IMAGE, struct drm_intel_overlay_put_image)
232#define DRM_IOCTL_I915_OVERLAY_ATTRS DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_OVERLAY_ATTRS, struct drm_intel_overlay_attrs) 232#define DRM_IOCTL_I915_OVERLAY_ATTRS DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_OVERLAY_ATTRS, struct drm_intel_overlay_attrs)
233 233
234/* Allow drivers to submit batchbuffers directly to hardware, relying 234/* Allow drivers to submit batchbuffers directly to hardware, relying
@@ -282,6 +282,7 @@ typedef struct drm_i915_irq_wait {
282#define I915_PARAM_HAS_COHERENT_RINGS 13 282#define I915_PARAM_HAS_COHERENT_RINGS 13
283#define I915_PARAM_HAS_EXEC_CONSTANTS 14 283#define I915_PARAM_HAS_EXEC_CONSTANTS 14
284#define I915_PARAM_HAS_RELAXED_DELTA 15 284#define I915_PARAM_HAS_RELAXED_DELTA 15
285#define I915_PARAM_HAS_GEN7_SOL_RESET 16
285 286
286typedef struct drm_i915_getparam { 287typedef struct drm_i915_getparam {
287 int param; 288 int param;
@@ -644,6 +645,9 @@ struct drm_i915_gem_execbuffer2 {
644 __u64 rsvd2; 645 __u64 rsvd2;
645}; 646};
646 647
648/** Resets the SO write offset registers for transform feedback on gen7. */
649#define I915_EXEC_GEN7_SOL_RESET (1<<8)
650
647struct drm_i915_gem_pin { 651struct drm_i915_gem_pin {
648 /** Handle of the buffer to be pinned. */ 652 /** Handle of the buffer to be pinned. */
649 __u32 handle; 653 __u32 handle;