linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
fred gao ef75c68586 drm/i915/gvt: Correct the privilege shadow batch buffer address
Once the ring buffer is copied to ring_scan_buffer and scanned,
the shadow batch buffer start address is only updated into
ring_scan_buffer, not the real ring address allocated through
intel_ring_begin in later copy_workload_to_ring_buffer.

This patch is only to set the right shadow batch buffer address
from Ring buffer, not include the shadow_wa_ctx.

v2:
- refine some comments. (Zhenyu)
v3:
- fix typo in title. (Zhenyu)
v4:
- remove the unnecessary comments. (Zhenyu)
- add comments in bb_start_cmd_va update. (Zhenyu)

Fixes: 0a53bc07f0 ("drm/i915/gvt: Separate cmd scan from request allocation")
Cc: stable@vger.kernel.org  # v4.15
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Yulei Zhang <yulei.zhang@intel.com>
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-03-15 15:06:26 +08: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 drm/i915/gvt: Correct the privilege shadow batch buffer address 2018-03-15 15:06:26 +08:00
cmd_parser.h
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 drm/i915/gvt: cleanup usage for typed mmio reg vs. offset 2017-12-22 16:33:03 +08:00
display.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
dmabuf.c drm/i915/gvt: Keep obj->dma_buf link NULL during exporting 2018-02-01 07:31:58 -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 drm/i915/gvt: Make elsp_dwords in the right order 2017-11-16 11:46:07 +08:00
fb_decoder.c drm/i915/gvt: cleanup usage for typed mmio reg vs. offset 2017-12-22 16:33:03 +08:00
fb_decoder.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +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 drm/i915/gvt: validate gfn before set shadow page entry 2018-02-01 07:30:45 -08:00
gtt.h drm/i915/gvt: move write protect handler out of mmio emulation function 2017-12-22 16:33:50 +08:00
gvt.c drm/i915/gvt: move write protect handler out of mmio emulation function 2017-12-22 16:33:50 +08:00
gvt.h drm/i915/gvt: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -08:00
handlers.c drm/i915/gvt: only reset execlist state of one engine during VM engine reset 2018-02-06 11:41:16 -08:00
hypercall.h drm/i915/gvt: validate gfn before set shadow page entry 2018-02-01 07:30:45 -08:00
interrupt.c
interrupt.h
kvmgt.c drm/i915/gvt: Support BAR0 8-byte reads/writes 2018-02-14 10:34:44 +08:00
Makefile Merge tag 'gvt-next-2017-12-14' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2017-12-14 10:57:41 -08:00
mmio_context.c drm/i915/gvt: Add runtime_pm_get/put into gvt_switch_mmio 2018-03-09 21:53:18 +08:00
mmio_context.h drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h} 2017-12-08 16:18:32 +08:00
mmio.c drm/i915/gvt: Fix aperture read/write emulation when enable x-no-mmap=on 2018-02-06 11:41:27 -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: validate gfn before set shadow page entry 2018-02-01 07:30:45 -08:00
opregion.c drm/i915/gvt: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -08:00
reg.h drm/i915/gvt: Use I915_GTT_PAGE_SIZE 2017-11-16 11:48:22 +08:00
sched_policy.c drm/i915/gvt: only reset execlist state of one engine during VM engine reset 2018-02-06 11:41:16 -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: Correct the privilege shadow batch buffer address 2018-03-15 15:06:26 +08:00
scheduler.h drm/i915/gvt: Correct the privilege shadow batch buffer address 2018-03-15 15:06:26 +08:00
trace_points.c
trace.h drm/i915/gvt: fix one typo of render_mmio trace 2018-02-14 10:35:00 +08:00
vgpu.c drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops 2018-02-06 11:40:59 -08:00