]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix PCH detect with multiple ISA bridges in VM
authorRui Guo <firemeteor@users.sourceforge.net>
Wed, 19 Jun 2013 13:10:23 +0000 (21:10 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:14:41 +0000 (11:14 +0200)
commit6abe784401b99df7926d01173d77df075e28f8e2
treeaf94867909fb340b8a21f90bbbadbbb36d92ed26
parent2af994917d31178c9035fe316bae6b5265767238
drm/i915: Fix PCH detect with multiple ISA bridges in VM

In some virtualized environments (e.g. XEN), there is irrelevant ISA bridge in
the system. To work reliably, we should scan trhough all the ISA bridge
devices and check for the first match, instead of only checking the first one.

Signed-off-by: Rui Guo <firemeteor@users.sourceforge.net>
[danvet: Fixup conflict with the num_pch_pll removal. And add
subsystem header to the commit message headline.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c