]> 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)
commit29d2aab0aa1bc8b632cc3ca98b841d31505572ed
treeaf94867909fb340b8a21f90bbbadbbb36d92ed26
parentd40330a1e75a4448ee82c43a88d5630a5cf70957
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