Re: 2.6.36-rc2 drm compilation failure

Previous thread: Re: [patch] i915: remove unneed NULL checks by Dan Carpenter on Monday, August 23, 2010 - 4:28 am. (1 message)

Next thread: [GIT] Xen pvhvm driver, emulated device unplug fixes by Ian Campbell on Monday, August 23, 2010 - 4:38 am. (1 message)
From: Carlos R. Mafra
Date: Monday, August 23, 2010 - 4:32 am

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.
--

From: Jesse Barnes
Date: Monday, August 23, 2010 - 8:48 am

On Mon, 23 Aug 2010 13:32:48 +0200

Ah so we need to select VGA arb or make sure stubs are provided
for !VGA_ARB configs.

-- 
Jesse Barnes, Intel Open Source Technology Center
--

From: Jesse Barnes
Date: Monday, August 23, 2010 - 4:22 pm

On Mon, 23 Aug 2010 13:32:48 +0200

Oh I see Chris already posted a patch for this.  Should be upstream
soon.

-- 
Jesse Barnes, Intel Open Source Technology Center
--

From: Carlos R. Mafra
Date: Monday, August 23, 2010 - 4:49 pm

Ok, I will wait then. Thanks for letting me know!
--

Previous thread: Re: [patch] i915: remove unneed NULL checks by Dan Carpenter on Monday, August 23, 2010 - 4:28 am. (1 message)

Next thread: [GIT] Xen pvhvm driver, emulated device unplug fixes by Ian Campbell on Monday, August 23, 2010 - 4:38 am. (1 message)