drm/i915/gvt: fix getting 64bit bar size error
authorXiaoguang Chen <xiaoguang.chen@intel.com>
Thu, 24 Nov 2016 05:13:00 +0000 (13:13 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 24 Nov 2016 06:08:58 +0000 (14:08 +0800)
commit550dd77ebb6360120269d9a7102ae2c0cea41290
tree1e8dd484023b881537acfc948376c459af4a21ef
parente992faee1f82cebf39c65b340d7591ab1aa8c742
drm/i915/gvt: fix getting 64bit bar size error

For 64bit bar while reading the higher 32bit the value should be returned
directly.

In the current implementation the higher 32bit value was discarded and not
written to the cfg space of vgpu which lead to an incorrect bar size.

Signed-off-by: Xiaoguang Chen <xiaoguang.chen@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.h