diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-24 00:51:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-24 09:10:08 +0100 |
commit | 75b974a859e5d9a3ceaa3aa03bbc27d404b32231 (patch) | |
tree | d8c7e461f4157fe3dd1013501a556d35da77c57a /drivers/gpu/drm/i915/i915_vgpu.c | |
parent | 77715906921251bd9f75bcf4825f176df3f91208 (diff) | |
download | lwn-75b974a859e5d9a3ceaa3aa03bbc27d404b32231.tar.gz lwn-75b974a859e5d9a3ceaa3aa03bbc27d404b32231.zip |
drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context
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@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823235141.31799-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vgpu.c')
0 files changed, 0 insertions, 0 deletions