linux_dsm_epyc7002/drivers/gpu/drm/i915/gt/uc
Chris Wilson 36e191f064 drm/i915: Apply i915_request_skip() on submission
Trying to use i915_request_skip() prior to i915_request_add() causes us
to try and fill the ring upto request->postfix, which has not yet been
set, and so may cause us to memset() past the end of the ring.

Instead of skipping the request immediately, just flag the error on the
request (only accepting the first fatal error we see) and then clear the
request upon submission.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304121849.2448028-1-chris@chris-wilson.co.uk
2020-03-04 14:29:50 +00:00
..
intel_guc_ads.c drm/i915/guc: add a helper to allocate and map guc vma 2019-12-09 13:54:33 -08:00
intel_guc_ads.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_guc_ct.c drm/i915/guc: Introduce guc_is_ready 2020-01-31 23:42:59 +00:00
intel_guc_ct.h drm/i915/guc: Make sure to sanitize CT status 2020-02-07 17:12:17 +00:00
intel_guc_fw.c drm/i915/uc: Drop explicit gt param in some uc_fw functions 2019-12-11 21:34:31 +00:00
intel_guc_fw.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_guc_fwif.h drm/i915/guc: kill the GuC client 2019-12-09 13:55:50 -08:00
intel_guc_log.c drm/i915/guc: Enable guc logging on guc log relay write 2019-10-23 15:05:00 -07:00
intel_guc_log.h drm/i915/guc: Enable guc logging on guc log relay write 2019-10-23 15:05:00 -07:00
intel_guc_reg.h drm/i915/tgl: Move GTCR register to cope with GAM MMIO address remap 2019-08-23 10:07:35 -07:00
intel_guc_submission.c drm/i915: Apply i915_request_skip() on submission 2020-03-04 14:29:50 +00:00
intel_guc_submission.h drm/i915/guc: Apply new uC status tracking to GuC submission as well 2020-02-20 17:48:06 +00:00
intel_guc.c drm/i915/uc: consolidate firmware cleanup 2020-02-20 17:48:08 +00:00
intel_guc.h drm/i915/guc: Apply new uC status tracking to GuC submission as well 2020-02-20 17:48:06 +00:00
intel_huc_fw.c drm/i915/uc: Improve tracking of uC init status 2020-02-20 17:48:05 +00:00
intel_huc_fw.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_huc.c drm/i915/uc: consolidate firmware cleanup 2020-02-20 17:48:08 +00:00
intel_huc.h drm/i915/uc: Improve tracking of uC init status 2020-02-20 17:48:05 +00:00
intel_uc_fw_abi.h drm/i915/guc: improve documentation 2019-10-17 09:30:32 -07:00
intel_uc_fw.c drm/i915/huc: update TGL HuC to v7.0.12 2020-03-02 16:26:38 -08:00
intel_uc_fw.h drm/i915/uc: consolidate firmware cleanup 2020-02-20 17:48:08 +00:00
intel_uc.c drm/i915/uc: consolidate firmware cleanup 2020-02-20 17:48:08 +00:00
intel_uc.h drm/i915/uc: Abort early on uc_init failure 2020-02-20 17:48:07 +00:00