2.6.36-rc2 drm compilation failure

From: Carlos R. Mafra
Date: Mon Aug 23 2010 - 07:33:26 EST


The compilation of 2.6.36-rc2 fails with the following error

LD .tmp_vmlinux1
drivers/built-in.o: In function `vga_get_uninterruptible':
/home/mafra/linux-2.6/include/linux/vgaarb.h:120: undefined reference to `vga_get'
drivers/built-in.o: In function `i915_disable_vga':
/home/mafra/linux-2.6/drivers/gpu/drm/i915/intel_display.c:5990: undefined reference to `vga_put'
make[1]: *** [.tmp_vmlinux1] Fehler 1
make: *** [sub-make] Fehler 2

but 2.6.36-rc1 compiled fine.

The machine is a Vaio 64-bit laptop with

VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller

and my .config has

CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y

but also

# CONFIG_VGA_ARB is not set

I guess the following commit introduced the error 9cce37f4855a30cc
("drm/i915: fix VGA plane disable for Ironlake+").

If there's any other information I should provide, please let me know.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/