]> 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)
commit9681aa482aae727832101c95c92233c630b5457a
tree841017ba10ef73e68b5693010626b264c818e3a9
parenta6dce5b7af1b20050f5615d76dc73bb63b395457
drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to optimize gvt-g boot time"

This reverts commit b152108690906f3ffe395d128eb32e6ca20c3c6f.

BXT needs to access 0x141000-0x1417ff register to obtain the dram info.
But after the snapshot range of I915_MCHBAR is refined in b152108690,
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