linux_dsm_epyc7002/drivers/gpu/drm/i915/gt
Chris Wilson 33df8a7697 drm/i915: Prevent lock-cycles between GPU waits and GPU resets
We cannot allow ourselves to wait on the GPU while holding any lock as we
may need to reset the GPU. While there is not an explicit lock between
the two operations, lockdep cannot detect the dependency. So let's tell
lockdep about the wait/reset dependency with an explicit lockmap.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190612085246.16374-1-chris@chris-wilson.co.uk
2019-06-12 12:06:11 +01:00
..
intel_breadcrumbs.c drm/i915: Seal races between async GPU cancellation, retirement and signaling 2019-05-08 16:02:41 +01:00
intel_context_types.h drm/i915: Rename intel_context.active to .inflight 2019-05-28 12:45:29 +01:00
intel_context.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
intel_context.h drm/i915: Allow interrupts when taking the timeline->mutex 2019-06-10 17:31:47 +01:00
intel_engine_cs.c drm/i915: Make read_subslice_reg take engine 2019-06-10 16:55:38 +01:00
intel_engine_pm.c drm/i915/execlists: Flush the tasklet on parking 2019-05-03 11:35:31 +01:00
intel_engine_pm.h drm/i915/execlists: Flush the tasklet on parking 2019-05-03 11:35:31 +01:00
intel_engine_types.h Revert "drm/i915: Expand subslice mask" 2019-05-29 17:18:18 +03:00
intel_engine.h drm/i915: Make Gen6/7 RING_FAULT_REG access engine centric 2019-06-07 12:47:39 +01:00
intel_gpu_commands.h drm/i915: add in-kernel blitter client 2019-05-30 12:01:44 +01:00
intel_gt_pm.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_gt_pm.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_hangcheck.c drm/i915: Tidy engine mask types in hangcheck 2019-06-07 12:47:38 +01:00
intel_lrc_reg.h
intel_lrc.c drm/i915: Rename i915_hw_ppgtt to i915_ppgtt 2019-06-11 11:44:32 +01:00
intel_lrc.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
intel_mocs.c
intel_mocs.h
intel_reset.c drm/i915: Prevent lock-cycles between GPU waits and GPU resets 2019-06-12 12:06:11 +01:00
intel_reset.h drm/i915: Move i915_check_and_clear_faults to intel_reset.c 2019-06-10 09:09:26 +01:00
intel_ringbuffer.c drm/i915: Rename i915_hw_ppgtt to i915_ppgtt 2019-06-11 11:44:32 +01:00
intel_sseu.c Revert "drm/i915: Expand subslice mask" 2019-05-29 17:18:18 +03:00
intel_sseu.h Revert "drm/i915: Expand subslice mask" 2019-05-29 17:18:18 +03:00
intel_workarounds_types.h
intel_workarounds.c Revert "drm/i915: Expand subslice mask" 2019-05-29 17:18:18 +03:00
intel_workarounds.h
Makefile
Makefile.header-test
mock_engine.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_engine.h drm/i915: Split engine setup/init into two phases 2019-04-26 18:32:07 +01:00
selftest_engine_cs.c
selftest_hangcheck.c drm/i915: Pull kref into i915_address_space 2019-06-11 11:44:24 +01:00
selftest_lrc.c drm/i915: Pull kref into i915_address_space 2019-06-11 11:44:24 +01:00
selftest_reset.c drm/i915/selftests: Use prepare/finish during atomic reset test 2019-05-23 21:58:36 +01:00
selftest_workarounds.c drm/i915: Pull kref into i915_address_space 2019-06-11 11:44:24 +01:00