linux/drivers/gpu/drm/i915/gvt
Xiaolin Zhang 15e7f52a45 drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out
Save RING_HEAD into vgpu reg when vgpu switched out and report
it's value back to guest.

v6: addressed comment for ring head wrap count support. (Zhenyu)
v5: ring head wrap count support.
v4: updated HEAD/TAIL with guest value, not host value. (Yan Zhao)
v3: save RING HEAD/TAIL vgpu reg in save_ring_hw_state. (Zhenyu Wang)
v2: save RING_TAIL as well during vgpu mmio switch to meet ring_is_idle
condition. (Fred Gao)
v1: based on input from Weinan. (Weinan Li)

[zhenyuw: Include this fix for possible future guest kernel that
would utilize RING_HEAD for hangcheck.]

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2019-06-03 13:18:36 +08:00
..
aperture_gm.c
cfg_space.c
cmd_parser.c drm/i915/gvt: Fix cmd length of VEB_DI_IECP 2019-05-30 11:31:43 +08:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: Use snprintf() to prevent possible buffer overflow. 2019-04-25 15:34:59 +08:00
display.c Merge tag 'drm-intel-next-2019-04-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2019-04-24 10:02:20 +10:00
display.h
dmabuf.c drm/i915/gvt: Do not copy the uninitialized pointer from fb_info 2019-04-25 15:34:00 +08:00
dmabuf.h
edid.c
edid.h
execlist.c drm/i915: Move intel_engine_mask_t around for use by i915_request_types.h 2019-04-02 15:09:08 +01:00
execlist.h drm/i915: Move intel_engine_mask_t around for use by i915_request_types.h 2019-04-02 15:09:08 +01:00
fb_decoder.c
fb_decoder.h
firmware.c
gtt.c drm/i915/gvt: Assign NULL to the pointer after memory free. 2019-05-30 17:21:57 +08:00
gtt.h drm/i915/gvt: Remove typedef and let the enumeration starts from zero 2019-04-25 15:32:10 +08:00
gvt.c drm/i915/gvt: add hotplug emulation 2019-01-31 11:26:55 +08:00
gvt.h Merge tag 'drm-intel-next-2019-04-04' into gvt-next 2019-04-16 16:50:34 +08:00
handlers.c drm/i915/gvt: add F_CMD_ACCESS flag for wa regs 2019-06-03 13:14:00 +08:00
hypercall.h Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
interrupt.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
interrupt.h
kvmgt.c drm/i915/gvt: Annotate iomem usage 2019-04-08 10:39:26 +08:00
Makefile drm: prefix header search paths with $(srctree)/ 2019-04-26 17:03:23 +02:00
mmio.c drm/i915/gvt: remove the unused sreg 2019-03-11 11:32:07 +08:00
mmio.h
mmio_context.c drm/i915/gvt: add 0x4dfc to gen9 save-restore list 2019-05-21 10:57:57 +08:00
mmio_context.h
mpt.h Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
opregion.c
page_track.c
page_track.h
reg.h drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out 2019-06-03 13:18:36 +08:00
sched_policy.c
sched_policy.h
scheduler.c drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out 2019-06-03 13:18:36 +08:00
scheduler.h drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out 2019-06-03 13:18:36 +08:00
trace.h
trace_points.c
vgpu.c drm/i915: Move intel_engine_mask_t around for use by i915_request_types.h 2019-04-02 15:09:08 +01:00