linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Zhao Yan 8bfa02c885 drm/i915/gvt: only copy the first page for restore inhibit context
if a context is a restore inhibit context, gfx hw only load the first page
for ring context, so we only need to copy from guest the 1 page too.

v3: use "return" instead of "goto" for inhibit case. (zhenyu wang)
v2: move judgement of restore inhibit to a macro in  mmio_context.h

Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Acked-by: Hang Yuan <hang.yuan@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-08-02 13:27:54 +08:00
..
aperture_gm.c drm/i915/gtt: Rename i915_hw_ppgtt base member 2018-06-05 21:11:20 +01: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: add a fastpath for cmd parsing on MI_NOOP 2018-08-02 13:27:09 +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: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c drm/i915/gvt: Enable virtual display support for BXT. 2018-06-13 10:57:29 +08:00
display.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
dmabuf.c drm/i915/gvt: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +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: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +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: Use offsetofend() rather than offsetof + sizeof 2018-05-17 22:05:10 +08:00
gtt.c drm/i915/gvt: Fix error handling in ppgtt_populate_spt_by_guest_entry 2018-07-09 10:35:14 +08:00
gtt.h drm/i915/gvt: Add GTT clear_pse operation 2018-07-09 10:23:27 +08:00
gvt.c drm/i915/gvt: declare gvt as i915's soft dependency 2018-07-10 11:13:11 +08:00
gvt.h - Ice Lake's display enabling patches (Jose, Mahesh, Dhinakaran, Paulo, Manasi, Anusha, Arkadiusz) 2018-06-07 10:24:50 +08:00
handlers.c drm/i915/gvt: Handle EDP_PSR_IMR and EDP_PSR_IIR for BXT. 2018-07-09 10:36:35 +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/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
mmio_context.c drm/i915/gvt: Enable mmio context init and switch for BXT. 2018-06-13 10:57:29 +08:00
mmio_context.h drm/i915/gvt: only copy the first page for restore inhibit context 2018-08-02 13:27:54 +08:00
mmio.c drm/i915/gvt: Use vgpu_lock to protect per vgpu access 2018-05-18 12:39:02 +08:00
mmio.h drm/i915/gvt: Add D_BXT device type define for BXT. 2018-06-13 10:57:29 +08: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: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -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: Use sched_lock to protect gvt scheduler logic. 2018-05-18 12:39:26 +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: only copy the first page for restore inhibit context 2018-08-02 13:27:54 +08:00
scheduler.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
trace_points.c
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
vgpu.c drm/i915: Enable platform support for vGPU huge gtt pages 2018-07-09 10:35:19 +08:00