linux-hardened/drivers/gpu/drm/i915/gvt
Hang Yuan bc0686ff5f drm/i915/gvt: support inconsecutive partial gtt entry write
Previously we assumed two 4-byte writes to the same PTE coming in sequence.
But recently we observed inconsecutive partial write happening as well. So
this patch enhances the previous solution. It now uses a list to save more
partial writes. If one partial write can be combined with another one in
the list to construct a full PTE, update its shadow entry. Otherwise, save
the partial write in the list.

v2: invalidate old entry and flush ggtt (Zhenyu)
v3: split old ggtt page unmap to another patch (Zhenyu)
v4: refine codes (Zhenyu)

Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Cc: Yan Zhao <yan.y.zhao@intel.com>
Cc: Xiaolin Zhang <xiaolin.zhang@intel.com>
Cc: Zhenyu Wang <zhenyu.z.wang@intel.com>
Reviewed-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-10-31 17:08:45 +08:00
..
aperture_gm.c drm/i915/gvt: Off by one in intel_vgpu_write_fence() 2018-08-14 15:26:59 +08:00
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: return error on cmd access 2018-08-14 15:26:39 +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: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
display.h drm/i915/gvt: Fix the validation on size field of dp aux header 2018-04-12 11:29:01 +08:00
dmabuf.c drm/i915/gvt: Fix drm_format_mod value for vGPU plane 2018-08-30 12:56:33 +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: Enable virtual display support for BXT. 2018-06-13 10:57:29 +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: use array to avoid potential buffer overflow 2018-06-11 15:04:45 +08:00
fb_decoder.c drm/i915/gvt: Fix drm_format_mod value for vGPU plane 2018-08-30 12:56:33 +08:00
fb_decoder.h drm/i915/gvt: Fix drm_format_mod value for vGPU plane 2018-08-30 12:56:33 +08:00
firmware.c drm/i915/gvt: Use offsetofend() rather than offsetof + sizeof 2018-05-17 22:05:10 +08:00
gtt.c drm/i915/gvt: support inconsecutive partial gtt entry write 2018-10-31 17:08:45 +08:00
gtt.h drm/i915/gvt: support inconsecutive partial gtt entry write 2018-10-31 17:08:45 +08:00
gvt.c drm/i915/gvt: fix cleanup sequence in intel_gvt_clean_device 2018-08-14 15:25:32 +08:00
gvt.h drm/i915/gvt: free workload in vgpu release 2018-08-13 12:32:57 +08:00
handlers.c drm/i915/gvt: Add GEN9_CLKGATE_DIS_4 to default BXT mmio handler 2018-09-18 10:37:44 +08:00
hypercall.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
interrupt.c drm/i915/gvt: Enable irq initialization for BXT. 2018-06-13 10:57:29 +08:00
interrupt.h
kvmgt.c drm/i915/gvt: request srcu_read_lock before checking if one gfn is valid 2018-09-18 10:37:55 +08:00
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
mmio.c drm/i915/gvt: Init PHY related registers for BXT 2018-09-18 10:37:29 +08:00
mmio.h BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
mmio_context.c drm/i915/gvt: move intel_runtime_pm_get out of spin_lock in stop_schedule 2018-08-30 12:54:32 +08:00
mmio_context.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
mpt.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
opregion.c drm/i915/gvt: Fix the incorrect length of child_device_config issue 2018-09-06 11:17:38 +08:00
page_track.c drm/i915/gvt: Use vgpu_lock to protect per vgpu access 2018-05-18 12:39:02 +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 drm/i915/gvt: Use I915_GTT_PAGE_SIZE 2017-11-16 11:48:22 +08:00
sched_policy.c drm/i915/gvt: Give new born vGPU higher scheduling chance 2018-09-03 14:28:23 +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: free workload in vgpu release 2018-08-13 12:32:57 +08:00
scheduler.h drm/i915/gvt: free workload in vgpu release 2018-08-13 12:32:57 +08:00
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
trace_points.c
vgpu.c drm/i915/gvt: clear ggtt entries when destroy vgpu 2018-09-18 10:39:44 +08:00