[Intel-gfx] [RFC 8/8] drm/i915: Add support to add execbuffer tags to OA counter reports

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 15 03:02:54 PDT 2015


On Wed, Jul 15, 2015 at 02:17:03PM +0530, sourab.gupta at intel.com wrote:
> @@ -802,7 +808,7 @@ struct drm_i915_gem_execbuffer2 {
>  #define I915_EXEC_CONSTANTS_REL_SURFACE (2<<6) /* gen4/5 only */
>  	__u64 flags;
>  	__u64 rsvd1; /* now used for context info */
> -	__u64 rsvd2;
> +	__u64 rsvd2; /* used for tag */

Only the bottom 32bits of rsvd1 are ctx_id. tag seems a natural
complement to ctx_id and could be fitted into the top 32bits of rsvd1.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list