linux/drivers/gpu/drm/i915/gt
Michal Wajdeczko 8d99e09c5d drm/i915/guc: Always copy CT message to new allocation
Since most of future CT traffic will be based on G2H requests,
instead of copying incoming CT message to static buffer and then
create new allocation for such request, always copy incoming CT
message to new allocation. Also by doing it while reading CT
header, we can safely fallback if that atomic allocation fails.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603051630.2635-19-matthew.brost@intel.com
2021-06-04 10:42:15 +02:00
..
selftests
shaders drm/i915: Include asm sources for {ivb, hsw}_clear_kernel.c 2020-06-29 11:29:12 +03:00
uc drm/i915/guc: Always copy CT message to new allocation 2021-06-04 10:42:15 +02:00
debugfs_engines.c drm/i915/gt: allow setting generic data pointer 2020-03-26 21:20:51 +00:00
debugfs_engines.h
debugfs_gt_pm.c drm/i915: Drop i915_request.lock requirement for intel_rps_boost() 2020-12-31 15:15:05 +00:00
debugfs_gt_pm.h
debugfs_gt.c drm/i915/gt: Add some missing blank lines after declaration 2021-03-24 19:30:35 +01:00
debugfs_gt.h drm/i915/gt: allow setting generic data pointer 2020-03-26 21:20:51 +00:00
gen2_engine_cs.c drm/i915: Do not share hwsp across contexts any more, v8. 2021-03-24 11:38:56 +01:00
gen2_engine_cs.h drm/i915/gt: Split low level gen2-7 CS emitters 2020-06-02 10:42:00 +01:00
gen6_engine_cs.c drm/i915: Do not share hwsp across contexts any more, v8. 2021-03-24 11:38:56 +01:00
gen6_engine_cs.h drm/i915/gt: Split low level gen2-7 CS emitters 2020-06-02 10:42:00 +01:00
gen6_ppgtt.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
gen6_ppgtt.h drm/i915/gt: Replace unnecessary ',' with '; ' 2021-03-24 19:30:35 +01:00
gen6_renderstate.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
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 drm/i915/gen7: Clear all EU/L3 residual contexts 2020-03-06 08:59:06 +00:00
gen7_renderstate.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
gen8_engine_cs.c Merge tag 'drm-intel-next-2021-04-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 14:02:21 +10:00
gen8_engine_cs.h drm/i915/gt: Move gen8 CS emitters into gen8_engine_cs.h 2020-12-16 15:55:43 +00:00
gen8_ppgtt.c drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp 2021-05-12 20:52:40 +03:00
gen8_ppgtt.h drm/i915/xelpd: First stab at DPT support 2021-05-07 11:13:01 +03:00
gen8_renderstate.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
gen9_renderstate.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
hsw_clear_kernel.c drm/i915/gen7: Clear all EU/L3 residual contexts 2020-03-06 08:59:06 +00:00
intel_breadcrumbs_types.h drm/i915/gt: Shrink the critical section for irq signaling 2020-12-24 15:02:39 +00:00
intel_breadcrumbs.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_breadcrumbs.h drm/i915/gt: Restore ce->signal flush before releasing virtual engine 2021-01-08 21:35:55 +00:00
intel_context_param.c drm/i915: Allow userspace to specify ringsize on construction 2020-02-25 19:23:19 +00:00
intel_context_param.h drm/i915: Fail too long user submissions by default 2021-03-26 01:01:27 +01:00
intel_context_sseu.c drm/i915/gt: Split logical ring contexts from execlist submission 2020-12-21 09:53:48 +00:00
intel_context_types.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_context.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
intel_context.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_engine_cs.c drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_engine_heartbeat.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_engine_heartbeat.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_engine_pm.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
intel_engine_pm.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_engine_stats.h drm/i915/gt: Convert stats.active to plain unsigned int 2021-01-15 21:30:24 +00:00
intel_engine_types.h drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_engine_user.c drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
intel_engine_user.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_engine.h drm/i915/gt: Move submission_method into intel_gt 2021-05-25 15:14:24 +02:00
intel_execlists_submission.c drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_execlists_submission.h drm/i915/gt: Move submission_method into intel_gt 2021-05-25 15:14:24 +02:00
intel_ggtt_fencing.c drm/i915: Read C0DRB3/C1DRB3 as 16 bits again 2021-05-12 20:52:32 +03:00
intel_ggtt_fencing.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_ggtt.c Merge drm/drm-next into drm-intel-gt-next 2021-06-02 10:18:45 +03:00
intel_gpu_commands.h gpu: drm: replace occurrences of invalid character 2021-05-19 12:39:08 -04:00
intel_gt_buffer_pool_types.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_gt_buffer_pool.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
intel_gt_buffer_pool.h drm/i915: Defer pin calls in buffer pool until first use by caller. 2021-03-24 17:27:20 +01:00
intel_gt_clock_utils.c drm/i915/gt: Remove a bonus newline 2021-03-24 19:30:35 +01:00
intel_gt_clock_utils.h drm/i915/gt: Consolidate the CS timestamp clocks 2020-12-23 21:10:41 +00:00
intel_gt_irq.c drm/i915/guc: enable only the user interrupt when using GuC submission 2021-06-03 23:31:04 +02: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_irq.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_gt_pm_irq.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_gt_pm.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_gt_pm.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_gt_requests.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_gt_requests.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_gt_types.h drm/i915/gt: Move submission_method into intel_gt 2021-05-25 15:14:24 +02:00
intel_gt.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_gt.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_gtt.c drm/i915: Don't free shared locks while shared 2021-06-01 09:32:33 +01:00
intel_gtt.h Merge drm/drm-next into drm-intel-gt-next 2021-06-02 10:18:45 +03:00
intel_llc_types.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_llc.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_llc.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_lrc_reg.h drm/i915/gt: Wrap macro arg in () 2021-03-24 19:30:35 +01:00
intel_lrc.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
intel_lrc.h drm/i915/gt: Exercise lrc_wa_ctx initialisation failure 2021-01-09 16:02:57 +00:00
intel_mocs.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_mocs.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_ppgtt.c drm/i915: Don't free shared locks while shared 2021-06-01 09:32:33 +01:00
intel_rc6_types.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_rc6.c drm/i915/gt: Remove a bonus newline 2021-03-24 19:30:35 +01:00
intel_rc6.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_region_lmem.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_region_lmem.h drm/i915: setup the LMEM region 2021-03-24 19:30:36 +01:00
intel_renderstate.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_renderstate.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_reset_types.h drm/i915/gt: Remove repeated words from comments 2021-03-24 19:30:35 +01:00
intel_reset.c drm/i915: Add Wa_14010733141 2021-05-27 11:05:09 -07:00
intel_reset.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_ring_submission.c drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_ring_types.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_ring.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
intel_ring.h drm/i915/gt: Add some missing blank lines after declaration 2021-03-24 19:30:35 +01:00
intel_rps_types.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_rps.c drm/i915/gt: Move CS interrupt handler to the backend 2021-05-25 15:14:40 +02:00
intel_rps.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_sseu_debugfs.c drm/i915: Move sseu debugfs under gt/ 2020-07-08 21:40:15 +01:00
intel_sseu_debugfs.h drm/i915: Move sseu debugfs under gt/ 2020-07-08 21:40:15 +01:00
intel_sseu.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_sseu.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_timeline_types.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_timeline.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
intel_timeline.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
intel_workarounds_types.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
intel_workarounds.c drm/i915: Drop duplicate WaDisable4x2SubspanOptimization:hsw 2021-05-07 16:41:39 +01:00
intel_workarounds.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
ivb_clear_kernel.c drm/i915/gen7: Clear all EU/L3 residual contexts 2020-03-06 08:59:06 +00:00
mock_engine.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
mock_engine.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_context.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
selftest_engine_cs.c drm/i915/gt: replace gen use in intel_engine_cs 2021-04-14 13:05:05 +03:00
selftest_engine_heartbeat.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
selftest_engine_heartbeat.h drm/i915/selftests: Enable selftesting of busy-stats 2020-06-18 09:26:53 +01:00
selftest_engine_pm.c drm/i915/selftest: Synchronise with the GPU timestamp 2021-03-24 19:31:59 +01:00
selftest_engine.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_engine.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_execlists.c drm/i915/gt: Move submission_method into intel_gt 2021-05-25 15:14:24 +02:00
selftest_gt_pm.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_hangcheck.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
selftest_llc.c drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_llc.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_lrc.c drm/i915: Update the helper to set correct mapping 2021-04-27 16:21:11 +01:00
selftest_mocs.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
selftest_rc6.c drm/i915/selftests: Only query RAPL for integrated power measurements 2021-04-20 10:49:05 +01:00
selftest_rc6.h drm/i915/gt: SPDX cleanup 2021-03-24 19:30:34 +01:00
selftest_reset.c drm/i915/selftests: Prepare the selftests for engine resets with ring submission 2021-01-19 11:55:13 +00:00
selftest_ring_submission.c drm/i915/gt: Move submission_method into intel_gt 2021-05-25 15:14:24 +02:00
selftest_ring.c drm/i915/gt: Incrementally check for rewinding 2020-06-16 11:34:23 +03:00
selftest_rps.c drm/i915/gt: fix typo issue 2021-05-20 14:53:59 +01:00
selftest_rps.h drm/i915/gt: Fix up clock frequency 2020-04-27 17:34:33 +01:00
selftest_timeline.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
selftest_workarounds.c drm/i915/selftests: replace unused mask with simple version 2021-04-14 13:05:05 +03:00
shmem_utils.c drm/i915/dg1: Fix mapping type for default state object 2021-04-27 16:19:52 +01:00
shmem_utils.h drm/i915/gt: Keep a no-frills swappable copy of the default context state 2020-04-29 19:02:37 +01:00
st_shmem_utils.c drm/i915/gt: Keep a no-frills swappable copy of the default context state 2020-04-29 19:02:37 +01:00
sysfs_engines.c drm/i915/gt: Cleanup kasan warning for on-stack (unsigned long) casting 2020-10-16 11:08:44 +01:00
sysfs_engines.h drm/i915/gt: Expose engine properties via sysfs 2020-02-28 22:03:19 +00:00