Skip to content
Commit c31c9e82 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/selftests: Teach switch_to_context() to use the context



The context details which engines to use, so use the ctx->engines[] to
generate the requests to cause the context switch.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022130221.20644-2-chris@chris-wilson.co.uk
parent ae2e28b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment