mirror_ubuntu-kernels/drivers/gpu/drm/i915
Matthew Brost b0d83888a3 drm/i915/guc: Release submit fence from an irq_work
A subsequent patch will flip the locking hierarchy from
ce->guc_state.lock -> sched_engine->lock to sched_engine->lock ->
ce->guc_state.lock. As such we need to release the submit fence for a
request from an IRQ to break a lock inversion - i.e. the fence must be
release went holding ce->guc_state.lock and the releasing of the can
acquire sched_engine->lock.

v2:
 (Daniele)
  - Delete request from list before calling irq_work_queue

Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-16-matthew.brost@intel.com
2021-09-13 11:30:44 -07:00
..
display Merge branch 'topic/revid_steppings' into drm-intel-gt-next 2021-07-14 17:55:21 -07:00
gem drm/i915: Use Transparent Hugepages when IOMMU is enabled 2021-09-10 14:29:19 +01:00
gt drm/i915/guc: Release submit fence from an irq_work 2021-09-13 11:30:44 -07:00
gvt Merge drm/drm-next into drm-intel-gt-next 2021-07-13 15:52:51 -04:00
selftests drm/i915/selftests: Add initial GuC selftest for scrubbing lost G2H 2021-09-13 11:30:38 -07:00
.gitignore
dma_resv_utils.c dma-buf: drop the _rcu postfix on function names v3 2021-06-06 11:19:51 +02:00
dma_resv_utils.h
i915_active_types.h drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
i915_active.c drm/i915: move i915_active slab to direct module init/exit 2021-07-28 16:45:57 +02:00
i915_active.h drm/i915: move i915_active slab to direct module init/exit 2021-07-28 16:45:57 +02:00
i915_buddy.c drm/i915/buddy: add some pretty printing 2021-08-20 09:40:22 +01:00
i915_buddy.h drm/i915/buddy: add some pretty printing 2021-08-20 09:40:22 +01:00
i915_cmd_parser.c drm/i915: Correct the docs for intel_engine_cmd_parser 2021-07-21 11:46:48 -04:00
i915_config.c
i915_debugfs_params.c drm/i915/guc: Connect reset modparam updates to GuC policy flags 2021-07-27 17:32:06 -07:00
i915_debugfs_params.h
i915_debugfs.c drm/i915/debugfs: hook up ttm_resource_manager_debug 2021-08-20 09:40:23 +01:00
i915_debugfs.h
i915_drv.c drm/i915/icl: Use revid->stepping tables 2021-07-14 17:36:22 -07:00
i915_drv.h drm/i915: use xa_lock/unlock for fpriv->vm_xa lookups 2021-09-06 11:11:45 +02:00
i915_fixed.h
i915_gem_evict.c drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC 2021-07-22 10:07:23 -07:00
i915_gem_gtt.c
i915_gem_gtt.h
i915_gem_ww.c drm/i915: Break out dma_resv ww locking utilities to separate files 2021-06-17 14:22:59 +01:00
i915_gem_ww.h drm/i915: Ditch the i915_gem_ww_ctx loop member 2021-08-20 09:39:41 +01:00
i915_gem.c drm/i915: Break out dma_resv ww locking utilities to separate files 2021-06-17 14:22:59 +01:00
i915_gem.h drm/i915: Break out dma_resv ww locking utilities to separate files 2021-06-17 14:22:59 +01:00
i915_getparam.c drm/i915/userptr: Probe existence of backing struct pages upon creation 2021-08-05 11:34:00 +02:00
i915_gpu_error.c drm/i915/dg2: Report INSTDONE_GEOM values in error state 2021-08-11 08:21:37 -07:00
i915_gpu_error.h Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
i915_ioc32.c
i915_ioc32.h
i915_irq.c drm/i915: Drop all references to DRM IRQ midlayer 2021-07-06 15:10:58 -04:00
i915_irq.h drm/i915: Use the correct IRQ during resume 2021-07-06 15:10:58 -04:00
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c Revert "i915: use io_mapping_map_user" 2021-06-02 15:06:10 +03:00
i915_module.c drm/i915/pci: rename functions to have i915_pci prefix 2021-08-26 10:50:19 +03:00
i915_params.c drm/i915/uc: Use platform specific defaults for GuC/HuC enabling 2021-06-09 10:52:03 -07:00
i915_params.h drm/i915/uc: Use platform specific defaults for GuC/HuC enabling 2021-06-09 10:52:03 -07:00
i915_pci.c drm/i915/adl_s: Remove require_force_probe protection 2021-09-07 10:52:12 +02:00
i915_pci.h drm/i915/pci: rename functions to have i915_pci prefix 2021-08-26 10:50:19 +03:00
i915_perf_types.h
i915_perf.c drm/i915/xehp: Handle new device context ID format 2021-07-22 09:37:26 -07:00
i915_perf.h drm/i915: Use a table for i915_init/exit (v2) 2021-07-22 12:05:17 +02:00
i915_pmu.c drm/i915/guc/slpc: Sysfs hooks for SLPC 2021-08-03 16:05:40 -07:00
i915_pmu.h drm/i915: Use a table for i915_init/exit (v2) 2021-07-22 12:05:17 +02:00
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915: Add pci ids and uapi for DG1 2021-08-13 09:46:58 +02:00
i915_query.h
i915_reg.h drm/i915/gt: Set BLIT_CCTL reg to un-cached 2021-09-03 20:17:22 +05:30
i915_request.c drm/i915: move request slabs to direct module init/exit 2021-07-28 17:05:17 +02:00
i915_request.h drm/i915/guc: Release submit fence from an irq_work 2021-09-13 11:30:44 -07:00
i915_scatterlist.c drm/i915/ttm: add i915_sg_from_buddy_resource 2021-06-16 16:33:26 +01:00
i915_scatterlist.h drm/i915/ttm: add i915_sg_from_buddy_resource 2021-06-16 16:33:26 +01:00
i915_scheduler_types.h drm/i915/guc: Implement GuC priority management 2021-07-27 17:32:27 -07:00
i915_scheduler.c drm/i915: move scheduler slabs to direct module init/exit 2021-07-28 17:18:56 +02:00
i915_scheduler.h drm/i915: move scheduler slabs to direct module init/exit 2021-07-28 17:18:56 +02:00
i915_selftest.h
i915_suspend.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
i915_suspend.h
i915_sw_fence_work.c drm/i915: Drop error handling from dma_fence_work 2021-07-16 21:47:39 +02:00
i915_sw_fence_work.h drm/i915: Drop error handling from dma_fence_work 2021-07-16 21:47:39 +02:00
i915_sw_fence.c dma-buf: drop the _rcu postfix on function names v3 2021-06-06 11:19:51 +02:00
i915_sw_fence.h
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c drm/i915/guc/slpc: Sysfs hooks for SLPC 2021-08-03 16:05:40 -07:00
i915_sysfs.h
i915_trace_points.c
i915_trace.h drm/i915: Drop __rcu from gem_context->vm 2021-09-06 11:11:32 +02:00
i915_ttm_buddy_manager.c drm/i915/buddy: add some pretty printing 2021-08-20 09:40:22 +01:00
i915_ttm_buddy_manager.h drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c
i915_utils.h drm/i915: Promote ptrdiff() to i915_utils.h 2021-06-03 23:35:43 +02:00
i915_vgpu.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
i915_vgpu.h
i915_vma_types.h
i915_vma.c drm/i915: move vma slab to direct module init/exit 2021-07-28 17:19:17 +02:00
i915_vma.h drm/i915: move vma slab to direct module init/exit 2021-07-28 17:19:17 +02:00
intel_device_info.c drm/i915/dg2: add DG2 platform info 2021-07-22 09:20:41 -07:00
intel_device_info.h drm/i915/xehp: handle new steering options 2021-08-05 07:59:57 -07:00
intel_dram.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
intel_dram.h
intel_gvt.c
intel_gvt.h
intel_memory_region.c drm/i915/debugfs: hook up ttm_resource_manager_debug 2021-08-20 09:40:23 +01:00
intel_memory_region.h drm/i915/debugfs: hook up ttm_resource_manager_debug 2021-08-20 09:40:23 +01:00
intel_pch.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
intel_pch.h drm/i915/adl_p: Add PCH support 2021-05-12 16:56:56 -07:00
intel_pm.c drm/i915: Make GT workaround upper bounds exclusive 2021-07-21 11:02:24 -07:00
intel_pm.h drm/i915: Remove the repeated declaration 2021-05-26 16:20:38 +03:00
intel_region_ttm.c drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
intel_region_ttm.h drm/i915/ttm: remove node usage in our naming 2021-06-16 16:48:02 +01:00
intel_runtime_pm.c
intel_runtime_pm.h drm/i915: Remove reference to struct drm_device.pdev 2021-04-29 21:19:10 +02:00
intel_sideband.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
intel_sideband.h
intel_step.c drm/i915/dg2: add DG2 platform info 2021-07-22 09:20:41 -07:00
intel_step.h drm/i915/xehpsdv: add initial XeHP SDV definitions 2021-07-22 09:19:13 -07:00
intel_uncore.c drm/i915/xehp: Xe_HP shadowed registers are a strict superset of gen12 2021-08-10 15:42:49 -07:00
intel_uncore.h drm/i915: Make shadow tables range-based 2021-08-10 15:34:47 -07:00
intel_wakeref.c
intel_wakeref.h
intel_wopcm.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
intel_wopcm.h
Kconfig VFIO update for v5.14-rc1 2021-07-03 11:49:33 -07:00
Kconfig.debug drm/i915: Improve debug Kconfig texts a bit 2021-07-06 10:10:07 +02:00
Kconfig.profile
Kconfig.unstable
Makefile drm/i915/guc/rc: Setup and enable GuCRC feature 2021-08-03 16:05:44 -07:00
TODO.txt
vlv_suspend.c
vlv_suspend.h