[igt-dev] [PATCH v22 4/6] lib: igt_gt: make gem_engine_can_store_dword() check engine class

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 17 08:40:01 UTC 2019


Quoting Andi Shyti (2019-04-17 00:10:21)
> From: Andi Shyti <andi.shyti at intel.com>
> 
> Engines referred by class and instance are getting more populare,
> gem_engine_can_store_dword() should handle the situation.
> 
> Suggested-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Signed-off-by: Andi Shyti <andi.shyti at intel.com>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

I would suggest we should
s/gem_can_store_dword/gem_engine_can_store_dword/ (and move it out of
igt_gt.c, we are gradually making that i915/)
and call this gem_engine_class_can_store_dword()
-Chris


More information about the igt-dev mailing list