[Intel-gfx] [PATCH] drm/i915/query: Align flavour of engine data lookup

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 22 10:45:45 UTC 2019


Quoting Tvrtko Ursulin (2019-11-22 10:41:15)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Commit 750e76b4f9f6 ("drm/i915/gt: Move the [class][inst] lookup for
> engines onto the GT") changed the engine query to iterate over uabi
> engines but left the buffer size calculation look at the physical engine
> count. Difference has no practical consequence but it is nicer to align
> both queries.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Fixes: 750e76b4f9f6 ("drm/i915/gt: Move the [class][inst] lookup for engines onto the GT")
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>

Well spotted. I guess I've missed some other RUNTIME_INFO().
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list