linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Zhenyu Wang 6bb2a2af8b drm/i915/gvt: Fix crash after request->hw_context change
When we do shadowing, workload's request might not be allocated yet,
so we still require shadow context's object. And when complete workload,
delay to zero workload's request pointer after used for update guest context.

v2: Move request alloc earlier as already try to track shadow status
depending on request state, which also facilitate to use request->hw_context
for target engine context reference.

Fixes: 1fc44d9b1a ("drm/i915: Store a pointer to intel_context in i915_request")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180521081752.31056-1-zhenyuw@linux.intel.com
2018-05-21 10:55:30 +01:00
..
aperture_gm.c
cfg_space.c drm/i915/gvt: Fix aperture read/write emulation when enable x-no-mmap=on 2018-02-06 11:41:27 -08:00
cmd_parser.c Merge branch 'drm-intel-next-queued' into gvt-next 2018-05-14 05:22:01 +08:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c drm/i915/gvt: Disable primary/sprite/cursor plane at virtual display initialization 2018-03-30 14:47:19 +08:00
display.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
dmabuf.c drm/i915/gvt: Add drm_format_mod update 2018-03-30 14:47:20 +08:00
dmabuf.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
edid.c drm/i915/gvt: cleanup usage for typed mmio reg vs. offset 2017-12-22 16:33:03 +08:00
edid.h
execlist.c drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops 2018-02-06 11:40:59 -08:00
execlist.h
fb_decoder.c drm/i915/gvt: Delete redundant error message in fb_decode.c 2018-03-30 14:47:19 +08:00
fb_decoder.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
firmware.c
gtt.c drm/i915/gvt: Cancel dma map when resetting ggtt entries 2018-03-30 14:47:18 +08:00
gtt.h drm/i915/gvt: Cancel dma map when resetting ggtt entries 2018-03-30 14:47:18 +08:00
gvt.c drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
gvt.h drm/i915/gvt: Remove disable_warn_untrack and print untracked mmio with debug level 2018-05-14 05:18:54 +08:00
handlers.c drm/i915/gvt: do not return error on handling force_to_nonpriv registers 2018-05-14 05:18:55 +08:00
hypercall.h drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup overhead 2018-03-06 13:19:27 +08:00
interrupt.c
interrupt.h
kvmgt.c Merge tag 'gvt-fixes-2018-04-03' of https://github.com/intel/gvt-linux into drm-intel-next-fixes 2018-04-04 13:46:40 +03:00
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
mmio_context.c drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
mmio_context.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
mmio.c drm/i915/gvt: Remove disable_warn_untrack and print untracked mmio with debug level 2018-05-14 05:18:54 +08:00
mmio.h drm/i915/gvt: cleanup usage for typed mmio reg vs. offset 2017-12-22 16:33:03 +08:00
mpt.h drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup overhead 2018-03-06 13:19:27 +08:00
opregion.c drm/i915/gvt: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -08:00
page_track.c drm/i915/gvt: Return error at the failure of finding page_track 2018-03-06 14:49:38 +08:00
page_track.h drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
reg.h
sched_policy.c drm/i915/gvt: Update time slice more frequently 2018-04-23 13:09:32 +08:00
sched_policy.h drm/i915/gvt: Kick scheduler when new workload queued 2017-12-04 11:24:35 +08:00
scheduler.c drm/i915/gvt: Fix crash after request->hw_context change 2018-05-21 10:55:30 +01:00
scheduler.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
trace_points.c
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
vgpu.c drm/i915/gvt: Invalidate vGPU PPGTT mm objects during a vGPU reset. 2018-03-19 14:51:20 +08:00