On Mon, Jan 31, 2005 at 11:36:41AM -0500, David Dawes wrote: >On Mon, Jan 31, 2005 at 10:19:07AM +0000, Dr Andrew C Aitchison wrote: >>David Dawes <[EMAIL PROTECTED]>: >>> Has anyone tried DRI on an i810 with the current tree? I get a >>> ring buffer lockup almost immediately after running glxgears. This >>> is with the current i810 DRM module built and loaded against an >>> otherwise stock 2.4.24 kernel. >> >>Can you remind me how to build the i810 DRM module ? >>makefile.linux seems to have disappeared. > >After a 'make World' there will be a Makefile.linux file in >os-support/linux/drm/kernel/. However, the workaround that used >to be present to allow a 'make -f Makefile.linux' build to work has >been removed, but I'll either add it back in a slightly modified form, >or change the build location to avoid the need for it.
I've opted for the latter method. A patch is attached. This should allow building (manually) from os-support/linux/drm/kernel_source/ after a 'make World'. Let me know if you find problems with it. David
Index: xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc diff -u /dev/null xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc:1.2 --- /dev/null Mon Jan 31 13:24:22 2005 +++ xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc Mon Jan 31 13:23:58 2005 @@ -0,0 +1,273 @@ +XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc,v 1.2 2005/01/31 18:23:58 dawes Exp $ +/* + * Copyright (c) 1994-2005 by The XFree86 Project, Inc. + * All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions, and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution, and in the same place and form as other copyright, + * license and disclaimer information. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: "This product + * includes software developed by The XFree86 Project, Inc + * (http://www.xfree86.org/) and its contributors", in the same + * place and form as other third-party acknowledgments. Alternately, + * this acknowledgment may appear in the software itself, in the + * same form and location as other such third-party acknowledgments. + * + * 4. Except as contained in this notice, the name of The XFree86 + * Project, Inc shall not be used in advertising or otherwise to + * promote the sale, use or other dealings in this Software without + * prior written authorization from The XFree86 Project, Inc. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef DRMCopySubdir +#define DRMCopySubdir kernel_source +#endif + +DRM_COPY_DIR = DRMCopySubdir + +#ifndef LinkSourceFileListToSubdir +#define LinkSourceFileListToSubdir(step,list,srcdir,subdir) @@\ +step:: @@\ + MakeDir(subdir) @@\ + @MakeFlagsToShellFlags(i,set +e); \ @@\ + UP="`$(REVPATH) subdir`"; export UP; \ @@\ + for i in list; do ( set -x; $(RM) subdir/$$i; \ @@\ + $(LN) $${UP}srcdir/$$i subdir/$$i); done +#endif + +clean:: + $(RM) -r $(DRM_COPY_DIR) + +/* Need to add SRC_*_BSD definitions */ + +SRCS_DRM_SHARED = \ + drm.h \ + drm_sarea.h + +SRCS_DRM_LINUX = \ + drmP.h \ + drm_agpsupport.h \ + drm_auth.h \ + drm_bufs.h \ + drm_context.h \ + drm_compat.h \ + drm_core.h \ + drm_dma.h \ + drm_drawable.h \ + drm_drv.h \ + drm_fops.h \ + drm_init.h \ + drm_ioctl.h \ + drm_irq.h \ + drm_lock.h \ + drm_memory.h \ + drm_memory_debug.h \ + drm_os_linux.h \ + drm_proc.h \ + drm_pci.h \ + drm_scatter.h \ + drm_stub.h \ + drm_vm.h + +SRCS_GAMMA_LINUX = \ + gamma.h \ + gamma_context.h \ + gamma_drm.h \ + gamma_drv.h \ + gamma_lists.h \ + gamma_lock.h \ + gamma_old_dma.h \ + gamma_dma.c \ + gamma_drv.c + +SRCS_I810_LINUX = \ + i810.h \ + i810_drm.h \ + i810_drv.h \ + i810_dma.c \ + i810_drv.c + +SRCS_I830_LINUX = \ + i830.h \ + i830_drm.h \ + i830_drv.h \ + i830_dma.c \ + i830_drv.c \ + i830_irq.c + +SRCS_I915_SHARED = \ + i915.h \ + i915_drm.h \ + i915_dma.c \ + i915_mem.c \ + i915_drv.h \ + i915_irq.c + +SRCS_I915_LINUX = \ + i915_drv.c + +SRCS_R128_SHARED = \ + r128.h \ + r128_drm.h \ + r128_drv.h \ + r128_cce.c \ + r128_irq.c \ + r128_state.c + +SRCS_R128_LINUX = \ + r128_drv.c + +SRCS_MACH64_SHARED = \ + mach64_drv.h \ + mach64_irq.c \ + mach64.h \ + mach64_dma.c \ + mach64_drm.h \ + mach64_state.c + +SRCS_MACH64_LINUX = \ + mach64_drv.c + +SRCS_SAVAGE_LINUX = \ + savage_dma.c \ + savage_drm.h \ + savage_drv.c \ + savage_drv.h \ + savage.h + +SRCS_VIA_SHARED = \ + via_irq.c \ + via_drm.h \ + via_drv.c \ + via_dma.c \ + via_drv.h \ + via_ds.c \ + via_ds.h \ + via.h \ + via_map.c \ + via_mm.c \ + via_mm.h \ + via_3d_reg.h \ + via_verifier.c \ + via_verifier.h + +SRCS_RADEON_SHARED = \ + radeon.h \ + radeon_drm.h \ + radeon_drv.h \ + radeon_cp.c \ + radeon_irq.c \ + radeon_mem.c \ + radeon_state.c \ + +SRCS_RADEON_LINUX = \ + ati_pcigart.h \ + radeon_drv.c + +SRCS_SIS_SHARED = \ + sis.h \ + sis_drm.h \ + sis_drv.h \ + sis_ds.h \ + sis_ds.c \ + sis_mm.c + +SRCS_SIS_LINUX = \ + sis_drv.c + +SRCS_MGA_SHARED = \ + mga.h \ + mga_drm.h \ + mga_drv.h \ + mga_ucode.h \ + mga_dma.c \ + mga_irq.c \ + mga_state.c \ + mga_warp.c + +SRCS_MGA_LINUX = \ + mga_drv.c + +SRCS_TDFX_SHARED = \ + tdfx.h + +SRCS_TDFX_LINUX = \ + tdfx_drv.c + +SRCS_FFB_LINUX = \ + ffb_context.c \ + ffb_drv.c \ + ffb_drv.h \ + ffb.h + +SRCS_BUILD_SHARED = \ + drm_pciids.txt + +SRCS_BUILD_SCRIPTS = \ + create_linux_pci_lists.sh + +SRCS_BUILD_LINUX = \ + Config.in \ + Kconfig \ + Makefile \ + Makefile.kernel + +DRMINSTSRCDIR = $(INSTSRCDIR)/drm/linux/kernel + +SRCS_SHARED = $(SRCS_DRM_SHARED) $(SRCS_GAMMA_SHARED) $(SRCS_I810_SHARED) \ + $(SRCS_R128_SHARED) $(SRCS_MACH64_SHARED) $(SRCS_SAVAGE_SHARED) \ + $(SRCS_VIA_SHARED) $(SRCS_RADEON_SHARED) $(SRCS_SIS_SHARED) \ + $(SRCS_MGA_SHARED) $(SRCS_TDFX_SHARED) $(SRCS_FFB_SHARED) \ + $(SRCS_BUILD_SHARED) + +SRCS_SCRIPTS = $(SRCS_BUILD_SCRIPTS) + +SRCS_LINUX = $(SRCS_DRM_LINUX) $(SRCS_GAMMA_LINUX) $(SRCS_I810_LINUX) \ + $(SRCS_R128_LINUX) $(SRCS_MACH64_LINUX) $(SRCS_SAVAGE_LINUX) \ + $(SRCS_VIA_LINUX) $(SRCS_RADEON_LINUX) $(SRCS_SIS_LINUX) \ + $(SRCS_MGA_LINUX) $(SRCS_TDFX_LINUX) $(SRCS_FFB_LINUX) \ + $(SRCS_BUILD_LINUX) + +SRCS_BSD = $(SRCS_DRM_BSD) $(SRCS_GAMMA_BSD) $(SRCS_I810_BSD) \ + $(SRCS_R128_BSD) $(SRCS_MACH64_BSD) $(SRCS_SAVAGE_BSD) \ + $(SRCS_VIA_BSD) $(SRCS_RADEON_BSD) $(SRCS_SIS_BSD) \ + $(SRCS_MGA_BSD) $(SRCS_TDFX_BSD) $(SRCS_FFB_BSD) \ + $(SRCS_BUILD_BSD) + + +INSTALL_SCRIPTS = $(SRCS_SCRIPTS:%=DRMCopySubdir/%) +INSTALL_SHARED = $(SRCS_SHARED:%=DRMCopySubdir/%) +INSTALL_LINUX = $(SRCS_LINUX:%=DRMCopySubdir/%) +INSTALL_BSD = $(SRCS_BSD:%=DRMCopySubdir/%) + +DRMSCRIPTSDIR = $(DRMSRCDIR)/scripts +DRMSHAREDDIR = $(DRMSRCDIR)/shared +DRMLINUXDIR = $(DRMSRCDIR)/linux +DRMBSDDIR = $(DRMSRCDIR)/bsd Index: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile diff -u xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile:1.24 xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile:1.25 --- xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile:1.24 Fri Jan 28 14:57:17 2005 +++ xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile Mon Jan 31 13:20:34 2005 @@ -1,6 +1,6 @@ -XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile,v 1.24 2005/01/28 19:57:17 dawes Exp $ +XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/Imakefile,v 1.25 2005/01/31 18:20:34 dawes Exp $ /* - * Copyright (c) 1994-2004 by The XFree86 Project, Inc. + * Copyright (c) 1994-2005 by The XFree86 Project, Inc. * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining @@ -49,12 +49,6 @@ #define IHaveModules #include <Server.tmpl> -#define IHaveSubdirs -SUBDIRS = kernel - -MakeSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - #if DoLoadableServer MSRC = drmmodule.c MOBJ = drmmodule.o @@ -102,3 +96,16 @@ #endif InstallDriverSDKLibraryModule(drm,$(DRIVERSDKMODULEDIR),linux) + +/* Copy the DRM kernel source to somewhere that it can be installed from. */ + +#include "../../shared/drm/Imakefile.inc" + +LinkSourceFileListToSubdir(includes,$(SRCS_SCRIPTS),$(DRMSCRIPTSDIR),$(DRM_COPY_DIR)) +LinkSourceFileListToSubdir(includes,$(SRCS_SHARED),$(DRMSHAREDDIR),$(DRM_COPY_DIR)) +LinkSourceFileListToSubdir(includes,$(SRCS_LINUX),$(DRMLINUXDIR),$(DRM_COPY_DIR)) + +INSTALL_LIST = $(INSTALL_SHARED) $(INSTALL_SCRIPTS) $(INSTALL_LINUX) + +InstallMultiple($(INSTALL_LIST),$(DRMINSTSRCDIR)) + Index: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile diff -u xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile:1.15 xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile:removed --- xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile:1.15 Fri Jan 28 19:24:32 2005 +++ xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile Mon Jan 31 13:24:22 2005 @@ -1,301 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Imakefile,v 1.15 2005/01/29 00:24:32 dawes Exp $ - -#include <Server.tmpl> - -XCOMM This is a kludge until we determine how best to build the -XCOMM kernel-specific device driver. This allows us to continue -XCOMM to maintain the single Makefile.linux with kernel-specific -XCOMM support. Later, we can move to a different Imakefile. - -#if BuildXF86DRI && BuildXF86DRM -all:: - $(MAKE) -f Makefile.linux - -clean:: - $(MAKE) -f Makefile.linux clean -#else -all:: - @echo 'Use "make -f Makefile.linux" to manually build drm.o' -#endif - -SRCS_DRM = \ - drm.h \ - drmP.h \ - drm_agpsupport.h \ - drm_auth.h \ - drm_bufs.h \ - drm_context.h \ - drm_compat.h \ - drm_core.h \ - drm_dma.h \ - drm_drawable.h \ - drm_drv.h \ - drm_fops.h \ - drm_init.h \ - drm_ioctl.h \ - drm_irq.h \ - drm_lock.h \ - drm_memory.h \ - drm_memory_debug.h \ - drm_os_linux.h \ - drm_proc.h \ - drm_pci.h \ - drm_sarea.h \ - drm_scatter.h \ - drm_stub.h \ - drm_vm.h - -SRCS_GAMMA = \ - gamma.h \ - gamma_context.h \ - gamma_drm.h \ - gamma_drv.h \ - gamma_lists.h \ - gamma_lock.h \ - gamma_old_dma.h \ - gamma_dma.c \ - gamma_drv.c - -SRCS_I810 = \ - i810.h \ - i810_drm.h \ - i810_drv.h \ - i810_dma.c \ - i810_drv.c - -SRCS_I830 = \ - i830.h \ - i830_drm.h \ - i830_drv.h \ - i830_dma.c \ - i830_drv.c \ - i830_irq.c - -SRCS_I915 = \ - i915.h \ - i915_drm.h \ - i915_drv.h \ - i915_dma.c \ - i915_mem.c \ - i915_drv.c \ - i915_irq.c - -SRCS_R128 = \ - ati_pcigart.h \ - r128.h \ - r128_drm.h \ - r128_drv.h \ - r128_cce.c \ - r128_drv.c \ - r128_irq.c \ - r128_state.c - -SRCS_MACH64 = \ - mach64_drv.c \ - mach64_irq.c \ - mach64_dma.c \ - mach64.h \ - mach64_drm.h \ - mach64_drv.h \ - mach64_state.c - -SRCS_SAVAGE = \ - savage_dma.c \ - savage_drm.h \ - savage_drv.c \ - savage_drv.h \ - savage.h - -SRCS_VIA = \ - via_irq.c \ - via_drm.h \ - via_drv.c \ - via_dma.c \ - via_drv.h \ - via_ds.c \ - via_ds.h \ - via.h \ - via_map.c \ - via_mm.c \ - via_mm.h \ - via_3d_reg.h \ - via_verifier.c \ - via_verifier.h - -SRCS_RADEON = \ - ati_pcigart.h \ - radeon.h \ - radeon_drm.h \ - radeon_drv.h \ - radeon_cp.c \ - radeon_drv.c \ - radeon_irq.c \ - radeon_mem.c \ - radeon_state.c \ - -SRCS_SIS = \ - sis.h \ - sis_drm.h \ - sis_drv.h \ - sis_ds.h \ - sis_drv.c \ - sis_ds.c \ - sis_mm.c - -SRCS_MGA = \ - mga.h \ - mga_drm.h \ - mga_drv.h \ - mga_ucode.h \ - mga_dma.c \ - mga_drv.c \ - mga_irq.c \ - mga_state.c \ - mga_warp.c - -SRCS_TDFX = \ - tdfx.h \ - tdfx_drv.c - -SRCS_BUILD = \ - Config.in \ - Kconfig \ - Makefile.linux \ - drm_pciids.txt \ - create_linux_pci_lists.sh \ - Makefile.kernel - -DRMINSTSRCDIR = $(INSTSRCDIR)/drm/linux/kernel - -SRCS = $(SRCS_DRM) $(SRCS_GAMMA) $(SRCS_I810) $(SRCS_I830) $(SRCS_I915) \ - $(SRCS_R128) $(SRCS_MACH64) $(SRCS_SAVAGE) $(SRCS_VIA) \ - $(SRCS_RADEON) $(SRCS_SIS) $(SRCS_MGA) $(SRCS_TDFX) $(SRCS_BUILD) - -InstallMultiple($(SRCS),$(DRMINSTSRCDIR)) -install:: - MakeDir($(DESTDIR)$(DRMINSTSRCDIR)) - @(cd $(DESTDIR)$(DRMINSTSRCDIR); rm -f Makefile; set -x; ln Makefile.linux Makefile) - -LinkSourceFile(drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(drm_sarea.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mga.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_ucode.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_dma.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_state.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mga_warp.c,$(DRMSRCDIR)/shared) -LinkSourceFile(r128.h,$(DRMSRCDIR)/shared) -LinkSourceFile(r128_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(r128_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(r128_cce.c,$(DRMSRCDIR)/shared) -LinkSourceFile(r128_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(r128_state.c,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon.h,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_cp.c,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_mem.c,$(DRMSRCDIR)/shared) -LinkSourceFile(radeon_state.c,$(DRMSRCDIR)/shared) -LinkSourceFile(sis.h,$(DRMSRCDIR)/shared) -LinkSourceFile(sis_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(sis_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(sis_ds.h,$(DRMSRCDIR)/shared) -LinkSourceFile(sis_ds.c,$(DRMSRCDIR)/shared) -LinkSourceFile(sis_mm.c,$(DRMSRCDIR)/shared) -LinkSourceFile(tdfx.h,$(DRMSRCDIR)/shared) -LinkSourceFile(tdfx_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(ati_pcigart.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_agpsupport.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_auth.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_bufs.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_compat.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_core.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_context.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_dma.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_drawable.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_fops.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_init.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_ioctl.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_irq.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_lock.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_memory_debug.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_memory.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_os_linux.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_pci.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drmP.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_pm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_proc.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_scatter.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_stub.h,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_vm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(ffb_context.c,$(DRMSRCDIR)/linux) -LinkSourceFile(ffb_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(ffb_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(ffb.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_context.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_dma.c,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_drm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_lists.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_lock.h,$(DRMSRCDIR)/linux) -LinkSourceFile(gamma_old_dma.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i810_dma.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i810_drm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i810_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i810_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i810.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i830_dma.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i830_drm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i830_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i830_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i830.h,$(DRMSRCDIR)/linux) -LinkSourceFile(i830_irq.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i915_dma.c,$(DRMSRCDIR)/shared) -LinkSourceFile(i915_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(i915_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(i915_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(i915_mem.c,$(DRMSRCDIR)/shared) -LinkSourceFile(i915.h,$(DRMSRCDIR)/shared) -LinkSourceFile(i915_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64_dma.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(mach64_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64_state.c,$(DRMSRCDIR)/shared) -LinkSourceFile(mach64.h,$(DRMSRCDIR)/shared) -LinkFile(Makefile.linux,$(DRMSRCDIR)/linux/Makefile) -LinkSourceFile(Makefile.kernel,$(DRMSRCDIR)/linux) -LinkSourceFile(mga_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(r128_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(radeon_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(savage_dma.c,$(DRMSRCDIR)/linux) -LinkSourceFile(savage_drm.h,$(DRMSRCDIR)/linux) -LinkSourceFile(savage_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(savage_drv.h,$(DRMSRCDIR)/linux) -LinkSourceFile(savage.h,$(DRMSRCDIR)/linux) -LinkSourceFile(sis_drv.c,$(DRMSRCDIR)/linux) -LinkSourceFile(via_drm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via_drv.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_dma.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_drv.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via_3d_reg.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via_ds.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_ds.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via_verifier.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_verifier.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via.h,$(DRMSRCDIR)/shared) -LinkSourceFile(via_irq.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_map.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_mm.c,$(DRMSRCDIR)/shared) -LinkSourceFile(via_mm.h,$(DRMSRCDIR)/shared) -LinkSourceFile(Config.in,$(DRMSRCDIR)/linux) -LinkSourceFile(Kconfig,$(DRMSRCDIR)/linux) -LinkSourceFile(drm_pciids.txt,$(DRMSRCDIR)/shared) -LinkSourceFile(create_linux_pci_lists.sh,$(DRMSRCDIR)/scripts)
