diff options
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
-rw-r--r-- | include/uapi/drm/i915_drm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index 97dea09a48ba..7652f8301cda 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -1056,15 +1056,18 @@ struct drm_i915_reset_stats { struct drm_i915_gem_userptr { __u64 user_ptr; __u64 user_size; + __u32 ctx_id; __u32 flags; -#define I915_USERPTR_READ_ONLY 0x1 -#define I915_USERPTR_UNSYNCHRONIZED 0x80000000 +#define I915_USERPTR_READ_ONLY (1<<0) +#define I915_USERPTR_GPU_MIRROR (1<<1) +#define I915_USERPTR_UNSYNCHRONIZED (1<<31) /** * Returned handle for the object. * * Object handles are nonzero. */ __u32 handle; + __u32 pad; }; #endif /* _UAPI_I915_DRM_H_ */ |