Commit 0122baaa authored by Joonas Lahtinen's avatar Joonas Lahtinen

Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux...

Merge tag 'gvt-next-fixes-2019-11-12' of https://github.com/intel/gvt-linux into drm-intel-next-fixes

gvt-next-fixes-2019-11-12

- Remove PVINFO read for initial state (Tina)
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
From: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112062032.GO4196@zhen-hp.sh.intel.com
parents 093b9228 83faaf07
...@@ -3420,6 +3420,10 @@ int intel_gvt_for_each_tracked_mmio(struct intel_gvt *gvt, ...@@ -3420,6 +3420,10 @@ int intel_gvt_for_each_tracked_mmio(struct intel_gvt *gvt,
} }
for (i = 0; i < gvt->mmio.num_mmio_block; i++, block++) { for (i = 0; i < gvt->mmio.num_mmio_block; i++, block++) {
/* pvinfo data doesn't come from hw mmio */
if (i915_mmio_reg_offset(block->offset) == VGT_PVINFO_PAGE)
continue;
for (j = 0; j < block->size; j += 4) { for (j = 0; j < block->size; j += 4) {
ret = handler(gvt, ret = handler(gvt,
i915_mmio_reg_offset(block->offset) + j, i915_mmio_reg_offset(block->offset) + j,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment