[Intel-gfx] [PATCH] drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context

Matthew Auld matthew.auld at intel.com
Fri Aug 23 13:18:39 UTC 2019


On 23/08/2019 12:01, Chris Wilson wrote:
> Avoid having to pass around (ctx, engine) everywhere by passing the
> actual intel_context we intend to use. Today we preach this lesson to
> igt_gpu_fill_dw and its callers' callers.
> 
> The immediate benefit for the GEM selftests is that we aim to use the
> GEM context as the control, the source of the engines on which to test
> the GEM context.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list