[Intel-gfx] [PATCH 08/15] drm/i915: Add support for emitting execbuffer tags through OA counter reports
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 4 10:04:50 UTC 2016
On Fri, Nov 04, 2016 at 03:00:37PM +0530, sourab.gupta at intel.com 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
More information about the Intel-gfx
mailing list