]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to...
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 25 Apr 2019 09:04:54 +0000 (17:04 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 29 Apr 2019 06:26:59 +0000 (14:26 +0800)
commit04e0dfad7ac3d22d327146af29fd15166310c31d
tree841017ba10ef73e68b5693010626b264c818e3a9
parente2f398ace975a1b3ad7282543e0bd8a1cfa33c6a
drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to optimize gvt-g boot time"

This reverts commit 2dd4b3d721837f063d90798a241c5a8b6267b162.

BXT needs to access 0x141000-0x1417ff register to obtain the dram info.
But after the snapshot range of I915_MCHBAR is refined in 2dd4b3d721,
it only initializes the range of 0x144000-0x147fff for VGPU and then
causes that the guest GPU can't get the initialized value for dram
detection on BXT.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/reg.h