alistair23-linux/drivers/gpu/drm/i915/gvt
fred gao f2880e04f3 drm/i915/gvt: Move request alloc to dispatch_workload path only
Previously the performance is improved through the workload auditing
and shadowing ahead of vGPU scheduling, however, there is the case that
more requests are allocated in submit_context before the previous request
is added, the timeline will hold its seqno which is later.

This patch is to move the request alloc to dispatch_workload function,
where is the same place as request is added.

It will fix the issue of kernel BUG for (timeline->seqno != request->fence.seqno)
check when add_request.

Fixes: 89ea20b930 ("drm/i915/gvt: Factor out scan and shadow from workload dispatch")
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2017-11-16 11:51:55 +08:00
..
aperture_gm.c drm/i915: Add interface to reserve fence registers for vGPU 2017-09-04 16:34:59 +01:00
cfg_space.c drm/i915/gvt: Emulate PCI expansion ROM base address register 2017-11-16 11:48:34 +08:00
cmd_parser.c drm/i915/gvt: Don't dump partial state in cmd parser 2017-11-16 11:48:33 +08:00
cmd_parser.h drm/i915/gvt: Factor out scan and shadow from workload dispatch 2017-08-10 10:26:06 +08:00
debug.h drm/i915/gvt: Make gvt_vgpu_err use pr_err 2017-11-16 11:48:34 +08:00
debugfs.c drm/i915/gvt: Add new debugfs tool mmio_diff 2017-11-16 11:48:32 +08:00
display.c Merge tag 'drm-intel-next-2017-08-18' of git://anongit.freedesktop.org/git/drm-intel into drm-next 2017-08-22 10:03:07 +10:00
display.h drm/i915/gvt: add resolution definition for vGPU type 2017-02-24 13:25:18 +08:00
edid.c drm/i915/gvt: Fix guest fail to read EDID leading to black guest console issue. 2017-03-21 10:50:02 +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: update CSB and CSB write pointer in virtual HWSP 2017-11-16 11:48:31 +08:00
execlist.h drm/i915/gvt: Make elsp_dwords in the right order 2017-11-16 11:46:07 +08:00
firmware.c drm/i915/gvt: Add mmio iterator intel_gvt_for_each_tracked_mmio() 2017-11-16 11:48:32 +08:00
gtt.c Revert "drm/i915/gvt: Refine broken PPGTT scratch" 2017-11-16 11:48:35 +08:00
gtt.h Revert "drm/i915/gvt: Refine broken PPGTT scratch" 2017-11-16 11:48:35 +08:00
gvt.c drm/i915/gvt: Let each vgpu has separate opregion memory 2017-11-16 11:48:35 +08:00
gvt.h drm/i915/gvt: Let each vgpu has separate opregion memory 2017-11-16 11:48:35 +08:00
handlers.c drm/i915/gvt: Limit read hw reg to active vgpu 2017-11-16 11:48:35 +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: Change flood gvt dmesg into trace 2017-06-08 13:59:16 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
kvmgt.c drm/i915/gvt: Refactor vGPU type code in kvmgt part 2017-11-16 11:48:20 +08:00
Makefile drm/i915/gvt: Add basic debugfs infrastructure 2017-11-16 11:48:20 +08:00
mmio.c drm/i915/gvt: Factor intel_vgpu_page_track 2017-11-16 11:48:22 +08:00
mmio.h drm/i915/gvt: Add mmio iterator intel_gvt_for_each_tracked_mmio() 2017-11-16 11:48:32 +08:00
mpt.h drm/i915/gvt: Factor intel_vgpu_page_track 2017-11-16 11:48:22 +08:00
opregion.c drm/i915/gvt: Let each vgpu has separate opregion memory 2017-11-16 11:48:35 +08:00
reg.h drm/i915/gvt: Use I915_GTT_PAGE_SIZE 2017-11-16 11:48:22 +08:00
render.c drm/i915/gvt: Reduce rcs mocs switch latency 2017-11-16 11:48:33 +08:00
render.h drm/i915/gvt: implement per-vm mmio switching optimization 2017-06-08 13:59:15 +08:00
sched_policy.c drm/i915/gvt: Fix GPU hang after reusing vGPU instance across different guest OS 2017-10-17 00:44:10 +08:00
sched_policy.h drm/i915/gvt: use hrtimer replace delayed_work in scheduler 2017-03-30 13:32:24 +08:00
scheduler.c drm/i915/gvt: Move request alloc to dispatch_workload path only 2017-11-16 11:51:55 +08:00
scheduler.h drm/i915/gvt: Refine shadow batch buffer 2017-11-16 11:48:21 +08:00
trace.h drm/i915/gvt: Change flood gvt dmesg into trace 2017-06-08 13:59:16 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
vgpu.c drm/i915/gvt: update CSB and CSB write pointer in virtual HWSP 2017-11-16 11:48:31 +08:00