]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: refine qemu south bridge detection
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Jan 2016 11:02:28 +0000 (12:02 +0100)
committerJani Nikula <jani.nikula@intel.com>
Fri, 29 Jan 2016 07:15:03 +0000 (09:15 +0200)
commite600f433a26404c9d6cb3ddf9e0c79541fe49662
tree8ab301a6ca8f031af0025bcf27a7b9e419d4e948
parenta0dc5da6f8d6f478d94e836558c492739ca0fe6e
drm/i915: refine qemu south bridge detection

The test for the qemu q35 south bridge added by commit
"8188341f drm/i915: more virtual south bridge detection"
also matches on real hardware.  Having the check for
virtual systems last in the list is not enough to avoid
that ...

Refine the check by additionally verifying the pci
subsystem id to see whenever it *really* is qemu.

[ v2: fix subvendor tyops ]

Reported-and-tested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Bruno Wolff III <bruno@wolff.to>
Cc: drm-intel-fixes@lists.freedesktop.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453719748-10944-1-git-send-email-kraxel@redhat.com
(cherry picked from commit 1e859111c128265f8d62b39ff322e42b1ddb5a20)
drivers/gpu/drm/i915/i915_drv.c