commit | c31c9e82ee8ae032b0ed495ae8b8207a6734452b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Oct 22 14:02:21 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Oct 22 20:43:08 2019 +0100 |
tree | 8a377f395e51480f6b02e774bcb7577ea5caf49d | |
parent | ae2e28b02630072134392e75b1062eef69aeeff8 [diff] |
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: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191022130221.20644-2-chris@chris-wilson.co.uk