linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Ping Gao da9cc8de22 drm/i915/gvt: clear the vGPU reset logic
Releasing shadow PPGTT pages is not enough when vGPU reset, the
guest page table tracking data should has same life-cycle with
all the shadow PPGTT pages; Otherwise there is no chance to
re-shadow the PPGTT pages without free the guest page table
tracking data.

This patch clear the PPGTT reset logic and make the vGPU reset in
working order.

v2: refactor some logic to avoid code duplicated.
v3: remove useless macro and add comments from Christophe.
v4: keep reset logic in reset function.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2017-02-23 17:32:17 +08:00
..
aperture_gm.c drm/i915/gvt: Fix alignment for GTT allocation 2017-02-14 17:03:30 +08:00
cfg_space.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
cmd_parser.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
cmd_parser.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
debug.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
display.c drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
display.h drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
edid.c drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
edid.h drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
execlist.c drm/i915/gvt: fix crash at function release_shadow_wa_ctx 2017-02-10 16:50:18 +08:00
execlist.h drm/i915/gvt: fix crash in vgpu_reset_execlist 2016-11-14 18:06:43 +08:00
firmware.c drm/i915/gvt: set default value to 0 for unhandled mmio regs 2017-02-23 17:32:16 +08:00
gtt.c drm/i915/gvt: clear the vGPU reset logic 2017-02-23 17:32:17 +08:00
gtt.h drm/i915/gvt: introuduce intel_vgpu_reset_gtt() to reset gtt 2017-01-13 15:05:38 +08:00
gvt.c drm/i915/gvt: enable IOMMU for gvt 2017-02-09 14:17:15 +08:00
gvt.h drm/i915/gvt: enter failsafe mode when guest requires more resources 2017-02-23 17:32:13 +08:00
handlers.c drm/i915/gvt: add cmd_access to GEN7_HALF_SLICE_CHICKEN1 2017-02-23 17:32:15 +08:00
hypercall.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
interrupt.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
kvmgt.c drm/i915/gvt: return error code if dma map iova failed 2017-02-14 17:35:39 +08:00
Makefile drm/i915/gvt/kvmgt: add vfio/mdev support to KVMGT 2016-12-16 16:55:26 +08:00
mmio.c drm/i915/gvt: decrease priority of output msg for untracked mmio 2017-02-23 17:32:16 +08:00
mmio.h drm/i915/gvt: introduce intel_vgpu_reset_mmio() to reset mmio space 2017-01-13 15:05:38 +08:00
mpt.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
opregion.c drm/i915/gvt: Fix check error on opregion.c 2017-02-17 14:56:36 +08:00
reg.h drm/i915/gvt: cleanup opregion memory allocation code 2017-01-09 11:11:32 +08:00
render.c drm/i915/gvt: add more registers to context save/restore list 2017-02-23 17:32:15 +08:00
render.h drm/i915/gvt: vGPU context switch 2016-10-14 18:15:13 +08:00
sched_policy.c drm/i915/gvt: remove a noisy unimportant log in sched_policy 2017-02-09 14:13:30 +08:00
sched_policy.h drm/i915/gvt: vGPU schedule policy framework 2016-10-14 18:15:02 +08:00
scheduler.c drm/i915/gvt: add a NULL pointer check to avoid kernel panic 2017-02-23 17:32:13 +08:00
scheduler.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
trace.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
vgpu.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00