diff options
author | Changbin Du <changbin.du@intel.com> | 2017-11-02 08:33:42 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 06:48:34 +0300 |
commit | c4270d122ccff963a021d1beb893d6192336af96 (patch) | |
tree | bea60e38ceaba2e8248dfb732e33ccd6b134e22c /drivers/gpu/drm/i915/gvt/gtt.h | |
parent | c982c45db6a78e1c23a416785fe920542ae1f33e (diff) | |
download | linux-c4270d122ccff963a021d1beb893d6192336af96.tar.xz |
drm/i915/gvt: Emulate PCI expansion ROM base address register
Our vGPU doesn't have a device ROM, we need follow the PCI spec to
report this info to drivers. Otherwise, we would see below errors.
Inspecting possible rom at 0xfe049000 (vd=8086:1912 bdf=00:10.0)
qemu-system-x86_64: vfio-pci: Cannot read device rom at 00000000-0000-0000-0000-000000000001
Device option ROM contents are probably invalid (check dmesg).
Skip option ROM probe with rombar=0, or load from file with romfile=No option rom signature (got 4860)
I will also send a improvement patch to PCI subsystem related to PCI ROM.
But no idea to omit below error, since no pattern to detect vbios shadow
without touch its content.
0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gtt.h')
0 files changed, 0 insertions, 0 deletions