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: Joonas 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
This commit is contained in:
Joonas Lahtinen 2019-11-20 13:21:38 +02:00
commit 0122baaa93

View File

@ -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,