[Intel-gfx] [PATCH] drm/i915/guc: index host arrays by i915 engine ID, not guc_id
Chris Wilson
chris at chris-wilson.co.uk
Mon Jun 20 09:37:22 UTC 2016
On Fri, Jun 17, 2016 at 05:29:12PM +0100, Dave Gordon wrote:
> The ONLY places that guc_id (aka hw_id) should be used are those where
> the value or address is determined by and shared with the GuC firmware;
> specifically, when filling in the GuC-context-descriptor or the GuC
> addon data, or putting an entry in the GuC's work queue.
>
> It need not (and therefore should not) be used to index GuC statistics
> or similar host-managed tracking data. In particular, i915_guc_submit()
> produces (and debugfs decodes) GuC submission statistics which should be
> indexed by driver-engine-id rather then guc-engine-id.
>
> Signed-off-by: Dave Gordon <david.s.gordon at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list