[Intel-gfx] i915 module does not find 82865G if configured as secondary

Daniel Vetter daniel at ffwll.ch
Sun Oct 9 14:44:30 CEST 2011


On Sun, Oct 09, 2011 at 01:07:25PM +0200, Tempura San wrote:
> Here is the output of lspci -nn:
> 
> 00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM
> Controller/Host-Hub Interface [8086:2570] (rev 02)
> 00:02.0 Display controller [0380]: Intel Corporation 82865G Integrated
> Graphics Controller [8086:2572] (rev 02)

The issue seems to be that the igd isn't a VGA pci class device anymore
when used as secondary. The below (untested) patch should allow to still
bind the i915 driver. Please test how far that gets us.

Yours, Daniel

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index ad85c13..6abb1d7 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -106,8 +106,6 @@ static struct drm_driver driver;
 extern int intel_agp_enabled;
 
 #define INTEL_VGA_DEVICE(id, info) {		\
-	.class = PCI_CLASS_DISPLAY_VGA << 8,	\
-	.class_mask = 0xff0000,			\
 	.vendor = 0x8086,			\
 	.device = id,				\
 	.subvendor = PCI_ANY_ID,		\

-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list