drm/i915/gvt: Fix incorrect mask of mmio 0x22028 in gen8/9 mmio list
authorColin Xu <colin.xu@intel.com>
Mon, 1 Apr 2019 06:13:53 +0000 (14:13 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 16 Apr 2019 08:52:51 +0000 (16:52 +0800)
commit2bfc4975083ace0e5777116514c3a75e59b3dbcd
tree890a4da65206aaedeac1d5e3d521e2d1e01a04bf
parentac071578286ee9abd0243480631510d9f818144d
drm/i915/gvt: Fix incorrect mask of mmio 0x22028 in gen8/9 mmio list

According to GFX PRM on 01.org, bit 31:16 of mmio 0x22028 should be masks.

Fixes: 178657139307 ("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>
drivers/gpu/drm/i915/gvt/mmio_context.c