linux/drivers/gpu/drm/i915/gvt
Colin Xu 75fdb811d9 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>
(cherry picked from commit 1e8b15a198)
2019-05-05 17:02:25 +08:00
..
aperture_gm.c drm/i915: Markup paired operations on wakerefs 2019-01-14 16:17:53 +00:00
cfg_space.c
cmd_parser.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
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 drm/i915/gvt: add functions to get default resolution 2019-01-31 11:26:48 +08:00
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 drm/i915/gvt: Refine port select logic for CFL platform 2019-01-10 11:38:04 +08:00
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 Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08:00
fb_decoder.h
firmware.c
gtt.c drm/i915/gvt: Check if get_next_pt_type() always returns a valid value 2019-04-25 15:36:29 +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: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to optimize gvt-g boot time" 2019-04-29 14:26:59 +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/i915/gvt: Change KVMGT as self load module 2019-01-02 15:51:26 +08:00
mmio.c drm/i915/gvt: remove the unused sreg 2019-03-11 11:32:07 +08:00
mmio.h drm/i915/gvt: Add coffeelake platform definition 2019-01-10 11:35:02 +08:00
mmio_context.c drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list 2019-05-05 17:02:25 +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: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to optimize gvt-g boot time" 2019-04-29 14:26:59 +08:00
sched_policy.c Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08:00
sched_policy.h
scheduler.c drm/i915/gvt: Remove typedef and let the enumeration starts from zero 2019-04-25 15:32:10 +08:00
scheduler.h drm/i915: Move intel_engine_mask_t around for use by i915_request_types.h 2019-04-02 15:09:08 +01:00
trace.h drm/i915/gvt: give the cmd parser cmd_info a const treatment 2019-01-10 11:29:02 +08:00
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