i915_dma.c
Bachman Kharazmi
bahkha at gmail.com
Wed Jan 23 05:32:04 PST 2008
Just cheked out according to the instructions at the webpage,
http://intellinuxgraphics.org/download.html
Compile in drm/linux-core fails, please see paste below.
Anything missing at line 1352? :/
thanks /Bachman
venus:/usr/src/intel/drm/linux-core# make
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
make -C /lib/modules/2.6.23/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.23'
CC [M] /usr/src/intel/drm/linux-core/drm_auth.o
CC [M] /usr/src/intel/drm/linux-core/drm_bufs.o
CC [M] /usr/src/intel/drm/linux-core/drm_context.o
CC [M] /usr/src/intel/drm/linux-core/drm_dma.o
CC [M] /usr/src/intel/drm/linux-core/drm_drawable.o
CC [M] /usr/src/intel/drm/linux-core/drm_drv.o
CC [M] /usr/src/intel/drm/linux-core/drm_fops.o
CC [M] /usr/src/intel/drm/linux-core/drm_ioctl.o
CC [M] /usr/src/intel/drm/linux-core/drm_irq.o
CC [M] /usr/src/intel/drm/linux-core/drm_lock.o
CC [M] /usr/src/intel/drm/linux-core/drm_memory.o
CC [M] /usr/src/intel/drm/linux-core/drm_proc.o
CC [M] /usr/src/intel/drm/linux-core/drm_stub.o
CC [M] /usr/src/intel/drm/linux-core/drm_vm.o
CC [M] /usr/src/intel/drm/linux-core/drm_sysfs.o
CC [M] /usr/src/intel/drm/linux-core/drm_pci.o
CC [M] /usr/src/intel/drm/linux-core/drm_agpsupport.o
CC [M] /usr/src/intel/drm/linux-core/drm_scatter.o
CC [M] /usr/src/intel/drm/linux-core/drm_memory_debug.o
CC [M] /usr/src/intel/drm/linux-core/ati_pcigart.o
CC [M] /usr/src/intel/drm/linux-core/drm_sman.o
CC [M] /usr/src/intel/drm/linux-core/drm_hashtab.o
CC [M] /usr/src/intel/drm/linux-core/drm_mm.o
CC [M] /usr/src/intel/drm/linux-core/drm_object.o
CC [M] /usr/src/intel/drm/linux-core/drm_compat.o
CC [M] /usr/src/intel/drm/linux-core/drm_fence.o
CC [M] /usr/src/intel/drm/linux-core/drm_ttm.o
CC [M] /usr/src/intel/drm/linux-core/drm_bo.o
CC [M] /usr/src/intel/drm/linux-core/drm_bo_move.o
CC [M] /usr/src/intel/drm/linux-core/drm_bo_lock.o
CC [M] /usr/src/intel/drm/linux-core/drm_regman.o
CC [M] /usr/src/intel/drm/linux-core/i810_drv.o
CC [M] /usr/src/intel/drm/linux-core/i810_dma.o
CC [M] /usr/src/intel/drm/linux-core/i915_drv.o
CC [M] /usr/src/intel/drm/linux-core/i915_dma.o
/usr/src/intel/drm/linux-core/i915_dma.c: In function âi915_driver_loadâ:
/usr/src/intel/drm/linux-core/i915_dma.c:1352: error: expected â,â or
â;â before â)â token
make[2]: *** [/usr/src/intel/drm/linux-core/i915_dma.o] Error 1
make[1]: *** [_module_/usr/src/intel/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23'
make: *** [modules] Error 2
1348 int i915_driver_load(struct drm_device *dev, unsigned long flags)
1349 {
1350 struct drm_i915_private *dev_priv = dev->dev_private;
1351 unsigned long base, size;
1352 int ret = 0, mmio_bar = IS_I9XX(dev) ? 0 : 1;
1353
1354 /* i915 has 4 more counters */
1355 dev->counters += 4;
1356 dev->types[6] = _DRM_STAT_IRQ;
1357 dev->types[7] = _DRM_STAT_PRIMARY;
1358 dev->types[8] = _DRM_STAT_SECONDARY;
1359 dev->types[9] = _DRM_STAT_DMA;
More information about the xorg
mailing list