]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Pass intel_context to mock_request
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Aug 2019 11:56:40 +0000 (12:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Aug 2019 12:44:31 +0000 (13:44 +0100)
commit1fedd606daf6c5343173410dbe218812e0152702
tree6124f2595cd8e2506af99a2fc668e7bba6c045ae
parent8cfc96cef6723aedc82f5524df6b2b8a26b5d8db
drm/i915/selftests: Pass intel_context to mock_request

Modernise the mock_request factory to take intel_context not a (GEM
context, intel_engine_cs) tuple.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808115640.20552-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_request.c
drivers/gpu/drm/i915/selftests/mock_request.c
drivers/gpu/drm/i915/selftests/mock_request.h