On Fri, Nov 04, 2016 at 03:00:37PM +0530, sourab.gupta@xxxxxxxxx wrote: > diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h > index ead97b7f4..15921c7 100644 > --- a/include/uapi/drm/i915_drm.h > +++ b/include/uapi/drm/i915_drm.h > @@ -832,6 +832,11 @@ struct drm_i915_gem_execbuffer2 { > #define i915_execbuffer2_get_context_id(eb2) \ > ((eb2).rsvd1 & I915_EXEC_CONTEXT_ID_MASK) > > +/* upper 32 bits of rsvd1 field contain tag */ > +#define I915_EXEC_TAG_MASK (0xffffffff00000000UL) > +#define i915_execbuffer2_get_tag(eb2) \ > + ((eb2).rsvd1 & I915_EXEC_TAG_MASK) Which does not return a u32 -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx