Re: intelfb: enable on x86_64

From: Dave Jones
Date: Thu Jun 22 2006 - 14:17:57 EST


On Tue, Jun 20, 2006 at 03:12:00AM +0000, Linux Kernel wrote:
> commit 0c187addabbaf93512902442b4a90140a21b0ddc
> tree 40cd618a76474ec9ba2cfde129315c7ebbaf4f9f
> parent 16109b3f4c1f2635afd32eb6d49348590de2cb25
> author Dave Airlie <airlied@xxxxxxxx> Thu, 23 Mar 2006 11:20:08 +1100
> committer Dave Airlie <airlied@xxxxxxxx> Mon, 03 Apr 2006 11:43:28 +1000
>
> intelfb: enable on x86_64
>
> i945G chipsets supports 64-bit.
>
> Signed-off-by: Dave Airlie <airlied@xxxxxxxx>
>
> drivers/video/Kconfig | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index f87c017..190adce 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -741,7 +741,7 @@ config FB_I810_I2C
>
> config FB_INTEL
> tristate "Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)"
> - depends on FB && EXPERIMENTAL && PCI && X86_32
> + depends on FB && EXPERIMENTAL && PCI && X86
> select AGP
> select AGP_INTEL
> select FB_MODE_HELPERS

This turned into an unpleasant surprise.
If you select for eg, IOMMU=y and CONFIG_AGP=y, and CONFIG_FB_INTEL=m,
then CONFIG_AGP gets silently turned into a =m, and the build fails with this..

arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_amd64_init'
arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_bridge'
arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_copy_info'

Dave

--
http://www.codemonkey.org.uk
-
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/