]> Pileus Git - ~andy/linux/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)
commit6a9c4b35e6696a63805b6da5e4889c6986e9ee1b
treeaf94867909fb340b8a21f90bbbadbbb36d92ed26
parent73845adf3357c3c71da25e18f44e5a9924d666d5
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