Intel 855GM: DRM unusual compilation

Steven J Newbury steve at snewbury.org.uk
Thu Aug 14 07:59:13 PDT 2008


On Thu, 2008-08-14 at 14:48 +0000, "marco V." wrote:
> Steven,
> 
>     thank 4 help. I've read only now this rows:
> 
> ifneq (,$(findstring i915,$(DRM_MODULES)))
> ifeq ($(OS_HAS_GEM), 1)
> CONFIG_DRM_I915 := m
> endif
> endif
> 
> in Makefile. Anyway, module now begin compilation step but:
> 
>   CC
> [M]  /usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.o
> /usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.c: In function 'i915_gem_detect_bit_6_swizzle':
> /usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.c:118: error: implicit declaration of function 'pci_read_base'
> make[2]: ***
> [/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.o] Error 1
> make[1]: ***
> [_module_/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core] Error
> 2
> make[1]: Leaving directory `/usr/src/linux-2.6.26'
> make: *** [modules] Error 2
> make: Leaving directory
> `/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core'
> 
> hung! Any idea/help?
You'll need a kernel tree with either the changes needed to compile
DRM/GEM against or a kernel tree with GEM integrated such as Eric
Anholt's  "git://people.freedesktop.org/~anholt/anholt/linux-2.6
drm-gem-merge".  Note that I haven't actually yet managed to get this
working on my system, see:
http://bugs.freedesktop.org/show_bug.cgi?id=17085






More information about the xorg mailing list