linux/drivers/gpu/drm/i915/gem/selftests
Chris Wilson de5825beae drm/i915: Serialise with engine-pm around requests on the kernel_context
As the engine->kernel_context is used within the engine-pm barrier, we
have to be careful when emitting requests outside of the barrier, as the
strict timeline locking rules do not apply. Instead, we must ensure the
engine_park() cannot be entered as we build the request, which is
simplest by taking an explicit engine-pm wakeref around the request
construction.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191125105858.1718307-1-chris@chris-wilson.co.uk
2019-11-25 13:17:18 +00:00
..
huge_gem_object.c drm/i915/gem: Distinguish each object type 2019-10-22 16:23:32 +01:00
huge_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
huge_pages.c drm/i915/selftests: Complete transition to a real struct file mock 2019-11-08 10:17:41 +00:00
i915_gem_client_blt.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_coherency.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_context.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_dmabuf.c drm/i915: Fix up broken merge 2019-07-22 23:43:15 +02:00
i915_gem_mman.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_object_blt.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_phys.c drm/i915/selftests: Drop vestigal struct_mutex guards 2019-10-04 15:39:41 +01:00
igt_gem_utils.c drm/i915: Pull i915_vma_pin under the vm->mutex 2019-10-04 15:39:02 +01:00
igt_gem_utils.h drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context 2019-08-24 09:10:08 +01:00
mock_context.c drm/i915/gem: Embed context/timeline name inside the GEM context 2019-11-11 11:46:40 +00:00
mock_context.h drm/i915/selftests: Complete transition to a real struct file mock 2019-11-08 10:17:41 +00:00
mock_dmabuf.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.h drm/i915: change to_mock() to an inline function 2019-11-08 09:12:34 +00:00
mock_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00