linux-stable/drivers/gpu/drm/i915/gt
Matthew Brost 7807bf28fe drm/i915/guc: Only assign guc_id.id when stealing guc_id
Previously assigned whole guc_id structure (list, spin lock) which is
incorrect, only assign the guc_id.id.

Fixes: 0f7976506d ("drm/i915/guc: Rework and simplify locking")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214170500.28569-3-matthew.brost@intel.com
(cherry picked from commit 939d8e9c87)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2021-12-20 13:59:35 +02:00
..
selftests
shaders
uc drm/i915/guc: Only assign guc_id.id when stealing guc_id 2021-12-20 13:59:35 +02:00
gen2_engine_cs.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
gen2_engine_cs.h
gen6_engine_cs.c
gen6_engine_cs.h
gen6_ppgtt.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
gen6_ppgtt.h
gen6_renderstate.c
gen7_renderclear.c drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7 2021-05-18 08:56:53 -04:00
gen7_renderclear.h
gen7_renderstate.c
gen8_engine_cs.c drm/i915/xehp: Extra media engines - Part 1 (engine definitions) 2021-07-24 07:16:50 -07:00
gen8_engine_cs.h
gen8_ppgtt.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
gen8_ppgtt.h drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
gen8_renderstate.c
gen9_renderstate.c
hsw_clear_kernel.c
intel_breadcrumbs.c drm/i915/guc: Implement GuC priority management 2021-07-27 17:32:27 -07:00
intel_breadcrumbs.h drm/i915/guc: Direct all breadcrumbs for a class to single breadcrumbs 2021-07-27 17:31:35 -07:00
intel_breadcrumbs_types.h drm/i915/guc: Direct all breadcrumbs for a class to single breadcrumbs 2021-07-27 17:31:35 -07:00
intel_context.c Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
intel_context.h drm/i915: Multi-BB execbuf 2021-10-15 10:45:50 -07:00
intel_context_param.h drm/i915/gem: Set the watchdog timeout directly in intel_context_set_gem (v2) 2021-07-08 19:43:49 +02:00
intel_context_sseu.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
intel_context_types.h drm/i915: Multi-BB execbuf 2021-10-15 10:45:50 -07:00
intel_engine.h drm/i915/guc: Connect UAPI to GuC multi-lrc interface 2021-10-15 10:45:50 -07:00
intel_engine_cs.c drm/i915/guc: Connect UAPI to GuC multi-lrc interface 2021-10-15 10:45:50 -07:00
intel_engine_heartbeat.c drm/i915: remove IS_ACTIVE 2021-10-07 11:04:05 -07:00
intel_engine_heartbeat.h drm/i915: Reset GPU immediately if submission is disabled 2021-07-27 17:31:45 -07:00
intel_engine_pm.c drm/i915/guc: Don't call switch_to_kernel_context with GuC submission 2021-10-15 10:37:28 -07:00
intel_engine_pm.h drm/i915/guc: Take engine PM when a context is pinned with GuC submission 2021-10-15 10:37:26 -07:00
intel_engine_stats.h
intel_engine_types.h drm/i915: Add logical engine mapping 2021-10-15 10:37:29 -07:00
intel_engine_user.c drm/i915/guc: Implement GuC priority management 2021-07-27 17:32:27 -07:00
intel_engine_user.h
intel_execlists_submission.c drm/i915/guc: Connect UAPI to GuC multi-lrc interface 2021-10-15 10:45:50 -07:00
intel_execlists_submission.h drm/i915/guc: GuC virtual engines 2021-07-27 17:31:28 -07:00
intel_ggtt.c drm/i915/adlp/fb: Prevent the mapping of redundant trailing padding NULL pages 2021-11-09 10:02:48 -05:00
intel_ggtt_fencing.c drm/i915/gt: Fix -EDEADLK handling regression 2021-07-13 15:56:21 -04:00
intel_ggtt_fencing.h
intel_gpu_commands.h drm/i915/pxp: Implement arb session teardown 2021-10-04 13:10:50 -04:00
intel_gt.c drm/i915/pxp: allocate a vcs context for pxp usage 2021-10-04 13:10:28 -04:00
intel_gt.h drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC 2021-07-22 10:07:23 -07:00
intel_gt_buffer_pool.c drm/i915: Flush buffer pools on driver remove 2021-09-24 19:56:30 -07:00
intel_gt_buffer_pool.h
intel_gt_buffer_pool_types.h
intel_gt_clock_utils.c drm/i915/gt: remove GRAPHICS_VER == 10 2021-07-29 10:06:10 -07:00
intel_gt_clock_utils.h
intel_gt_debugfs.c drm/i915/gt: move remaining debugfs interfaces into gt 2021-10-14 21:47:49 -07:00
intel_gt_debugfs.h drm/i915/gt: move remaining debugfs interfaces into gt 2021-10-14 21:47:49 -07:00
intel_gt_engines_debugfs.c drm/i915: rename debugfs_engines files 2021-09-18 23:33:22 -07:00
intel_gt_engines_debugfs.h drm/i915: rename debugfs_engines files 2021-09-18 23:33:22 -07:00
intel_gt_irq.c drm/i915/pxp: Implement PXP irq handler 2021-10-04 13:10:55 -04:00
intel_gt_irq.h drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_gt_pm.c drm/i915/gt: Hold RPM wakelock during PXP suspend 2021-11-24 09:07:18 -05:00
intel_gt_pm.h drm/i915/guc: Take engine PM when a context is pinned with GuC submission 2021-10-15 10:37:26 -07:00
intel_gt_pm_debugfs.c Merge tag 'drm-intel-gt-next-2021-10-21' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-10-22 06:30:34 +10:00
intel_gt_pm_debugfs.h drm/i915/gt: move remaining debugfs interfaces into gt 2021-10-14 21:47:49 -07:00
intel_gt_pm_irq.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
intel_gt_pm_irq.h
intel_gt_requests.c drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC 2021-07-22 10:07:23 -07:00
intel_gt_requests.h drm/i915: use linux/stddef.h due to "isystem: trim/fixup stdarg.h and other headers" 2021-09-06 09:31:23 +02:00
intel_gt_types.h drm/i915/pxp: allocate a vcs context for pxp usage 2021-10-04 13:10:28 -04:00
intel_gtt.c treewide: Add missing includes masked by cgroup -> bpf dependency 2021-12-03 10:58:13 -08:00
intel_gtt.h drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
intel_llc.c Merge tag 'drm-intel-gt-next-2021-10-21' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-10-22 06:30:34 +10:00
intel_llc.h
intel_llc_types.h
intel_lrc.c drm/i915/guc: Add multi-lrc context registration 2021-10-15 10:37:34 -07:00
intel_lrc.h
intel_lrc_reg.h drm/i915/guc: Implement GuC context operations for new inteface 2021-07-22 10:07:08 -07:00
intel_migrate.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
intel_migrate.h drm/i915/gt: Pipelined clear 2021-06-17 14:23:09 +01:00
intel_migrate_types.h drm/i915/gt: Pipelined page migration 2021-06-17 14:23:05 +01:00
intel_mocs.c drm/i915/gt: Add "intel_" as prefix in set_mocs_index() 2021-09-20 08:23:27 -07:00
intel_mocs.h drm/i915/gt: Add "intel_" as prefix in set_mocs_index() 2021-09-20 08:23:27 -07:00
intel_ppgtt.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
intel_rc6.c drm/i915: split out intel_pcode.[ch] to separate file 2021-10-14 18:04:17 +03:00
intel_rc6.h
intel_rc6_types.h
intel_region_lmem.c drm/i915: Use direction definition DMA_BIDIRECTIONAL instead of PCI_DMA_BIDIRECTIONAL 2021-09-30 16:19:45 +02:00
intel_region_lmem.h
intel_renderstate.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
intel_renderstate.h drm/i915: Break out dma_resv ww locking utilities to separate files 2021-06-17 14:22:59 +01:00
intel_reset.c drm/i915/guc: Implement banned contexts for GuC submission 2021-07-27 17:32:12 -07:00
intel_reset.h
intel_reset_types.h
intel_ring.c drm/i915: Don't back up pinned LMEM context images and rings during suspend 2021-09-24 08:19:15 +02:00
intel_ring.h drm/i915/gt: Pipelined page migration 2021-06-17 14:23:05 +01:00
intel_ring_submission.c drm/i915: Replace the unconditional clflush with drm_clflush_virt_range() 2021-10-18 12:44:41 +03:00
intel_ring_types.h
intel_rps.c drm/i915: split out intel_pcode.[ch] to separate file 2021-10-14 18:04:17 +03:00
intel_rps.h drm/i915/xehpsdv: factor out function to read RP_STATE_CAP 2021-08-12 16:06:56 -07:00
intel_rps_types.h
intel_sseu.c drm/i915/xehp: Check new fuse bits for SFC availability 2021-09-20 21:42:09 -07:00
intel_sseu.h drm/i915/xehpsdv: Add compute DSS type 2021-08-11 08:21:49 -07:00
intel_sseu_debugfs.c drm/i915: rename debugfs_gt files 2021-09-18 23:33:19 -07:00
intel_sseu_debugfs.h
intel_timeline.c drm/i915: Catch yet another unconditioal clflush 2021-10-18 12:45:19 +03:00
intel_timeline.h
intel_timeline_types.h
intel_workarounds.c drm/i915/gen11: Moving WAs to icl_gt_workarounds_init() 2021-12-09 08:30:22 -05:00
intel_workarounds.h drm/i915: Make wa list per-gt 2021-09-20 08:06:36 -07:00
intel_workarounds_types.h drm/i915/guc: Provide mmio list to be saved/restored on engine reset 2021-07-27 17:31:55 -07:00
ivb_clear_kernel.c
mock_engine.c drm/i915/gt: Register the migrate contexts with their engines 2021-09-24 08:19:13 +02:00
mock_engine.h
selftest_context.c drm/i915/guc: Disable engine barriers with GuC during unpin 2021-07-22 10:07:15 -07:00
selftest_engine.c
selftest_engine.h
selftest_engine_cs.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_engine_heartbeat.c drm/i915: remove IS_ACTIVE 2021-10-07 11:04:05 -07:00
selftest_engine_heartbeat.h drm/i915/selftest: Fix hangcheck self test for GuC submission 2021-07-27 17:32:23 -07:00
selftest_engine_pm.c drm/i915/selftest: Extend ctx_timestamp ICL workaround to GEN11 2021-06-25 12:08:35 +01:00
selftest_execlists.c drm/i915/guc: Connect UAPI to GuC multi-lrc interface 2021-10-15 10:45:50 -07:00
selftest_gt_pm.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_hangcheck.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
selftest_llc.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_llc.h
selftest_lrc.c drm/i915: Move submission tasklet to i915_sched_engine 2021-06-18 15:14:42 -07:00
selftest_migrate.c drm/i915/gt: Setup a default migration context on the GT 2021-06-17 14:23:11 +01:00
selftest_mocs.c drm/i915/selftest: Fix hangcheck self test for GuC submission 2021-07-27 17:32:23 -07:00
selftest_rc6.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_rc6.h
selftest_reset.c drm/i915: Move submission tasklet to i915_sched_engine 2021-06-18 15:14:42 -07:00
selftest_ring.c
selftest_ring_submission.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_rps.c drm/i915/gt: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:06 -07:00
selftest_rps.h
selftest_slpc.c drm/i915/guc/slpc: Add SLPC selftest 2021-08-03 16:05:42 -07:00
selftest_timeline.c drm/i915: Stop storing the ring size in the ring pointer (v3) 2021-07-08 19:43:35 +02:00
selftest_workarounds.c drm/i915: Make wa list per-gt 2021-09-20 08:06:36 -07:00
shmem_utils.c
shmem_utils.h
st_shmem_utils.c
sysfs_engines.c
sysfs_engines.h