]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only bind to function 0 of the PCI device
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Feb 2011 19:43:02 +0000 (19:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Feb 2011 21:53:59 +0000 (21:53 +0000)
commita862c796869e98db27b274321916c4047bf364c5
treec76602d2f959c02b72505568d21b78b9a88af255
parent9a4e7304bf2896b63e19fd407d052c7cdb955758
drm/i915: Only bind to function 0 of the PCI device

Early chipsets (gen2/3) used function 1 as a placeholder for multi-head.
We used to ignore these since they were not assigned to
PCI_CLASS_DISPLAY_VGA. However with c135613d9 we attempt to bind to all
Intel PCI_CLASS_DISPLAY devices (and functions) to work in multi-gpu
systems. This fails hard on gen2/3.

Reported-by: Ferenc Wágner <wferi@niif.hu>
Tested-by: Ferenc Wágner <wferi@niif.hu>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=28012
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/i915_drv.c