]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt/kvmgt: fill info for ROM/VGA region
authorPei Zhang <pei.zhang@intel.com>
Fri, 8 Dec 2017 07:31:12 +0000 (15:31 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 8 Dec 2017 08:18:49 +0000 (16:18 +0800)
commit072ec93d50fd4c4b27ea44fff160a95c2b581eb1
tree34478ebb5fb0b1449765828a217d08c4f519c43a
parent1aec75ee327f2f2085a4e2b060a3d999b8f4d925
drm/i915/gvt/kvmgt: fill info for ROM/VGA region

Both ROM/VGA region are not supported for vGPU in GVT. But if the device
model want to get those region, we should return the correct information
but not leave the structure with random data. Change to same operation
of BAR3-BAR5 which are also not supported by vGPU.

Refer to function @intel_vgpu_rw.

Signed-off-by: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c