]> 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)
commitb67effa1bbaf954e13e158cde646f34515665a11
tree6124f2595cd8e2506af99a2fc668e7bba6c045ae
parent5d87aefcd91a706500bf8c180e414ae6c2e642ed
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