linux/drivers/gpu/drm/i915/gvt
Colin Xu 1e8b15a198 drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list
Depends on GEN family and I915_PARAM_HAS_CONTEXT_ISOLATION, Mesa driver
will decide whether constant buffer 0 address is relative or absolute,
and load GPU initial state by lri to context mmio INSTPM (GEN8)
or 0x20D8 (>=GEN9).
Mesa Commit fa8a764b62
("i965: Use absolute addressing for constant buffer 0 on Kernel 4.16+.")

INSTPM is already added to gen8_engine_mmio_list, but 0x20D8 is missed
in gen9_engine_mmio_list. From GVT point of view, different guest could
have different context so should switch those mmio accordingly.

v2: Update fixes commit ID.

Fixes: 1786571393 ("drm/i915/gvt: vGPU context switch")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2019-02-22 16:19:34 +08:00
..
aperture_gm.c drm/i915/gvt: ensure gpu is powered before do i915_gem_gtt_insert 2018-11-12 17:06:05 +08:00
cfg_space.c drm/i915/gvt: Fix function comment doc errors 2018-08-07 10:39:53 +08:00
cmd_parser.c drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check 2019-02-21 12:19:19 +08:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c Merge tag 'drm-intel-next-2018-09-06-2' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2018-09-11 11:53:12 +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
edid.c drm/i915/gvt: Fix function comment doc errors 2018-08-07 10:39:53 +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 tiled memory decoding bug on BDW 2018-12-03 17:03:21 +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 Merge tag 'gvt-fixes-2018-11-26' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-26 11:19:48 +02:00
gtt.h Merge tag 'gvt-fixes-2018-11-07' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-07 15:34:10 +02:00
gvt.c drm/i915/gvt: fix a typo: "registeration" -> "registration". 2018-12-07 12:00:58 +08:00
gvt.h drm/i915/gvt: Fix shadow ctx ppgtt destroy function 2018-12-07 12:01:09 +08:00
handlers.c drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0 2019-01-14 12:33:28 +08:00
hypercall.h drm/i915/gvt: free VFIO region space in vgpu detach 2019-01-15 18:28:15 +08:00
interrupt.c drm/i915/gvt: fix spelling mistake "Interupts" -> "Interrupts" 2018-12-07 12:01:09 +08:00
interrupt.h
kvmgt.c drm/i915/gvt: Fix mmap range check 2019-01-15 19:04:45 +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: Add in context mmio 0x20D8 to gen9 mmio list 2019-02-22 16:19:34 +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 This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
mmio.h BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
mpt.h drm/i915/gvt: free VFIO region space in vgpu detach 2019-01-15 18:28:15 +08:00
opregion.c This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
page_track.c drm/i915/gvt: Fix function comment doc errors 2018-08-07 10:39:53 +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 Merge tag 'gvt-next-2018-09-04' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2018-09-06 16:51:50 +03: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
scheduler.c drm/i915/gvt: release shadow batch buffer and wa_ctx before destroy one workload 2019-01-23 13:58:46 +08:00
scheduler.h drm/i915/gvt: Fix workload request allocation before request add 2019-01-09 12:59:09 +08: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/gvt: clear ggtt entries when destroy vgpu 2018-09-18 10:39:44 +08:00