profile/ivi/libdrm.git
21 years agoAdd Rage 128 pageflipping support, defaults to off. DRM version bump to
Eric Anholt [Sat, 26 Jul 2003 03:25:40 +0000 (03:25 +0000)]
Add Rage 128 pageflipping support, defaults to off. DRM version bump to
    2.5.0. It still has some issues, including a flicker in the fps meter
    in tuxracer and I've seen garbage left behind after moving/closing
    windows. However, it's usable. Add the Option "EnablePageFlip" "YES" to
    use it.

21 years agoFix FreeBSD build after IRQ changes.
Eric Anholt [Sat, 26 Jul 2003 03:18:34 +0000 (03:18 +0000)]
Fix FreeBSD build after IRQ changes.

21 years agoCompile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break
Michel Daenzer [Fri, 25 Jul 2003 10:50:39 +0000 (10:50 +0000)]
Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break
    the i830 driver or the BSDs. :)

21 years agoFail in DRM(agp_acquire) if the AGP aperture can't be used, such that the X
Michel Daenzer [Fri, 25 Jul 2003 10:31:37 +0000 (10:31 +0000)]
Fail in DRM(agp_acquire) if the AGP aperture can't be used, such that the X
    server falls back to PCI GART or disables the DRI gracefully

21 years agoRestore __HAVE_KERNEL_CTX_SWITCH, required for the sparc drm module in the
Keith Whitwell [Fri, 11 Jul 2003 15:27:55 +0000 (15:27 +0000)]
Restore __HAVE_KERNEL_CTX_SWITCH, required for the sparc drm module in the
    kernel tree. Added comments to that effect.

21 years agoDA: fix for bug 484 in Bugzilla, originally from me, reworked by David
Dave Airlie [Wed, 9 Jul 2003 23:21:15 +0000 (23:21 +0000)]
DA: fix for bug 484 in Bugzilla, originally from me, reworked by David
    Dawes to avoid backword incompatibilities...

21 years agofile drm_mem.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:28:42 +0000 (09:28 +0000)]
file drm_mem.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_dma.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:26:17 +0000 (09:26 +0000)]
file drm_dma.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_fops.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:26:17 +0000 (09:26 +0000)]
file drm_fops.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_lock.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:26:17 +0000 (09:26 +0000)]
file drm_lock.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_stub.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:26:17 +0000 (09:26 +0000)]
file drm_stub.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_vm.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Wed, 9 Jul 2003 09:26:17 +0000 (09:26 +0000)]
file drm_vm.c was initially added on branch newdrm-0-0-1-branch.

21 years agoRemoved unused __HAVE_KERNEL_CTX_SWITCH, whatever that was.
Keith Whitwell [Tue, 8 Jul 2003 17:10:13 +0000 (17:10 +0000)]
Removed unused __HAVE_KERNEL_CTX_SWITCH, whatever that was.

21 years agoDon't need to include linux/wrapper.h - we only use Set/ClearPageReserved
Leif Delgass [Fri, 4 Jul 2003 18:31:42 +0000 (18:31 +0000)]
Don't need to include linux/wrapper.h - we only use Set/ClearPageReserved
    from linux/mm.h now and wrapper.h has been removed in 2.5.69 and later.

21 years agofile drm_agp.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Tue, 1 Jul 2003 18:56:57 +0000 (18:56 +0000)]
file drm_agp.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_bufs.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Tue, 1 Jul 2003 18:56:57 +0000 (18:56 +0000)]
file drm_bufs.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_mem.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Tue, 1 Jul 2003 18:56:57 +0000 (18:56 +0000)]
file drm_mem.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_pci.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Tue, 1 Jul 2003 18:56:57 +0000 (18:56 +0000)]
file drm_pci.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_sg.c was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Tue, 1 Jul 2003 18:56:57 +0000 (18:56 +0000)]
file drm_sg.c was initially added on branch newdrm-0-0-1-branch.

21 years agofile savage_dma.c was initially added on branch savage-1_0_0-branch.
Alan Hourihane [Mon, 23 Jun 2003 16:34:14 +0000 (16:34 +0000)]
file savage_dma.c was initially added on branch savage-1_0_0-branch.

21 years agofile savage_state.c was initially added on branch savage-1_0_0-branch.
Alan Hourihane [Mon, 23 Jun 2003 16:34:14 +0000 (16:34 +0000)]
file savage_state.c was initially added on branch savage-1_0_0-branch.

21 years agofile drm_pci_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 15:27:51 +0000 (15:27 +0000)]
file drm_pci_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_stub_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 14:01:43 +0000 (14:01 +0000)]
file drm_stub_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_memory_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 13:18:47 +0000 (13:18 +0000)]
file drm_memory_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_vm_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 13:09:08 +0000 (13:09 +0000)]
file drm_vm_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_dma_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 12:49:34 +0000 (12:49 +0000)]
file drm_dma_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_lock_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Sat, 21 Jun 2003 12:27:27 +0000 (12:27 +0000)]
file drm_lock_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agofile drm_bufs_tmp.h was initially added on branch newdrm-0-0-1-branch.
Jose Fonseca [Thu, 19 Jun 2003 00:14:25 +0000 (00:14 +0000)]
file drm_bufs_tmp.h was initially added on branch newdrm-0-0-1-branch.

21 years agoRevert the janitorial - that works is now on the new branch
Jose Fonseca [Thu, 19 Jun 2003 00:09:52 +0000 (00:09 +0000)]
Revert the janitorial - that works is now on the new branch
    newdrm-0-0-1-branch.

21 years agofile i830_compat.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_compat.c was initially added on branch i865-agp-0-1-branch.

21 years agofile i830.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830.h was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_dma.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_dma.c was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_drm.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_drm.h was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_drv.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_drv.c was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_drv.h was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_drv.h was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_irq.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_irq.c was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_mem.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Wed, 18 Jun 2003 15:07:31 +0000 (15:07 +0000)]
file i830_mem.c was initially added on branch i865-agp-0-1-branch.

21 years agoPossibly fix stanford checker complaints about sarea
Keith Whitwell [Mon, 16 Jun 2003 10:40:52 +0000 (10:40 +0000)]
Possibly fix stanford checker complaints about sarea

21 years agoMove the linux AGP includes into drm_agp.h and only define the AGP data
Jose Fonseca [Sat, 14 Jun 2003 15:18:49 +0000 (15:18 +0000)]
Move the linux AGP includes into drm_agp.h and only define the AGP data
    structures if AGP support is enabled in the kernel (__REALLY_HAVE_AGP).
    This fixes the compile errors on kernels without AGP support.

21 years agoTexture rectangle support for r100
Keith Whitwell [Tue, 10 Jun 2003 18:54:17 +0000 (18:54 +0000)]
Texture rectangle support for r100

21 years agoRevert bogus last commit
Keith Whitwell [Mon, 9 Jun 2003 23:12:33 +0000 (23:12 +0000)]
Revert bogus last commit

21 years agoDon't activate blend fallbacks unless blending is enabled
Keith Whitwell [Mon, 9 Jun 2003 23:11:23 +0000 (23:11 +0000)]
Don't activate blend fallbacks unless blending is enabled

21 years agoVerify 'drm_agp' is not NULL for all its wrappers - this causes no overhead
Jose Fonseca [Sat, 7 Jun 2003 12:45:55 +0000 (12:45 +0000)]
Verify 'drm_agp' is not NULL for all its wrappers - this causes no overhead
    and must be done if in future a driver tries to talk to the AGP
    directly from kernelspace instead of userspace, and the AGP is not
    present.

21 years agoCheck that the AGPGART "drm_agp" symbol pointer is valid before
Jose Fonseca [Sat, 7 Jun 2003 12:30:22 +0000 (12:30 +0000)]
Check that the AGPGART "drm_agp" symbol pointer is valid before
    initializing the DRM device - this was causing a kernel oops when the
    AGPGART module wasn't loaded.

21 years agofix pitch compile error
Dave Airlie [Sat, 7 Jun 2003 01:44:15 +0000 (01:44 +0000)]
fix pitch compile error

21 years agoadd page flipping support to the DRM, up version number to 1.3.0...
Dave Airlie [Thu, 5 Jun 2003 23:31:40 +0000 (23:31 +0000)]
add page flipping support to the DRM, up version number to 1.3.0...

21 years agoAdded the Doxygen configuration file. Minor documentation fixes.
Jose Fonseca [Tue, 3 Jun 2003 23:50:23 +0000 (23:50 +0000)]
Added the Doxygen configuration file. Minor documentation fixes.

21 years agoSplit declarations/definitions in drm_scatter.h into drm_sg.h/drm_sg_tmp.h
Jose Fonseca [Tue, 3 Jun 2003 23:27:01 +0000 (23:27 +0000)]
Split declarations/definitions in drm_scatter.h into drm_sg.h/drm_sg_tmp.h
    respectively. Splited the work out of the ioctls and renamed (with the
    _ioctl prefix). Added some more documentation. Did the same for
    drm_sgpsupport.h.

21 years agofile i830_mem.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Tue, 3 Jun 2003 11:23:58 +0000 (11:23 +0000)]
file i830_mem.c was initially added on branch i865-agp-0-1-branch.

21 years agofile i830_compat.c was initially added on branch i865-agp-0-1-branch.
Keith Whitwell [Fri, 30 May 2003 12:07:45 +0000 (12:07 +0000)]
file i830_compat.c was initially added on branch i865-agp-0-1-branch.

21 years agoRestore change to _DRM_VBLANK_SIGNAL from rev. 1.41, which was reverted
Leif Delgass [Wed, 28 May 2003 02:03:37 +0000 (02:03 +0000)]
Restore change to _DRM_VBLANK_SIGNAL from rev. 1.41, which was reverted
    with the documentation merge.

21 years agoRestore DRM_*MEMORYBARRIER change reverted with documentation merge
Leif Delgass [Wed, 28 May 2003 01:44:49 +0000 (01:44 +0000)]
Restore DRM_*MEMORYBARRIER change reverted with documentation merge

21 years agoMerged DRM documentation.
Jose Fonseca [Tue, 27 May 2003 00:37:33 +0000 (00:37 +0000)]
Merged DRM documentation.

21 years agoAdd support to r128 for MESA_ycbcr_texture (Ian Romanick, Leif Delgass)
Leif Delgass [Mon, 26 May 2003 20:04:53 +0000 (20:04 +0000)]
Add support to r128 for MESA_ycbcr_texture (Ian Romanick, Leif Delgass)

21 years agoDRM part of Radeon DRI suspend/resume support (Charl Botha).
David Dawes [Tue, 20 May 2003 22:43:39 +0000 (22:43 +0000)]
DRM part of Radeon DRI suspend/resume support (Charl Botha).

21 years agoSupport for building DRM module on OpenBSD (Wilbern Cobb, Matthieu Herrb).
David Dawes [Tue, 20 May 2003 22:42:24 +0000 (22:42 +0000)]
Support for building DRM module on OpenBSD (Wilbern Cobb, Matthieu Herrb).
    (resync with XFree86 trunk)

21 years agodo allow reading from read only mappings...
Michel Daenzer [Sat, 17 May 2003 00:37:34 +0000 (00:37 +0000)]
do allow reading from read only mappings...

21 years agoSupport AGP bridges where the AGP aperture can't be accessed directly by
Michel Daenzer [Fri, 16 May 2003 23:41:27 +0000 (23:41 +0000)]
Support AGP bridges where the AGP aperture can't be accessed directly by
    the CPU (David Mosberger, Benjamin Herrenschmidt, myself, Paul
    Mackerras, Jeff Wiedemeier)

21 years agofix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
Michel Daenzer [Tue, 6 May 2003 21:10:33 +0000 (21:10 +0000)]
fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)

21 years agoMerged texmem-0-0-1
Ian Romanick [Wed, 30 Apr 2003 01:51:00 +0000 (01:51 +0000)]
Merged texmem-0-0-1

21 years agoremove unused variables
Leif Delgass [Tue, 29 Apr 2003 16:59:00 +0000 (16:59 +0000)]
remove unused variables

21 years agoFix a typo: On takedown the mtrr operation is MEMRANGE_SET_REMOVE, not
Eric Anholt [Mon, 28 Apr 2003 23:18:43 +0000 (23:18 +0000)]
Fix a typo: On takedown the mtrr operation is MEMRANGE_SET_REMOVE, not
    _UPDATE.

21 years agoRestore Eric Anholt's DRM_*MEMORYBARRIER changes from rev 1.11
Leif Delgass [Mon, 28 Apr 2003 17:49:26 +0000 (17:49 +0000)]
Restore Eric Anholt's DRM_*MEMORYBARRIER changes from rev 1.11

21 years agoOnly free original pagelist in addbufs_pci if one already exists (fixes
Leif Delgass [Mon, 28 Apr 2003 16:20:31 +0000 (16:20 +0000)]
Only free original pagelist in addbufs_pci if one already exists (fixes
    oops).

21 years agoDRM_READ/WRITEMEMORYBARRIER was given an argument in the bsd tree, fix for
Alan Hourihane [Mon, 28 Apr 2003 15:29:46 +0000 (15:29 +0000)]
DRM_READ/WRITEMEMORYBARRIER was given an argument in the bsd tree, fix for
    linux

21 years agoPut back __HAVE_KERNEL_CTX_SWITCH for David Miller's sparc drm driver
Keith Whitwell [Sun, 27 Apr 2003 09:53:58 +0000 (09:53 +0000)]
Put back __HAVE_KERNEL_CTX_SWITCH for David Miller's sparc drm driver
    (which doesn't live in our cvs).

21 years agoUse real endian conversion functions.
Eric Anholt [Sun, 27 Apr 2003 00:43:14 +0000 (00:43 +0000)]
Use real endian conversion functions.

21 years agoFix formatting of hw.dri sysctl.
Eric Anholt [Sat, 26 Apr 2003 23:55:30 +0000 (23:55 +0000)]
Fix formatting of hw.dri sysctl.

21 years agoRemove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of
Eric Anholt [Sat, 26 Apr 2003 23:32:00 +0000 (23:32 +0000)]
Remove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of
    DRM_*MEMORYBARRIER we had were related to an MMIO space. This means
    arch-specific code on the BSDs, unfortunately. Also add
    DRM_MEMORYBARRIER() and change the DRM_READMEMORYBARRIER()s that used
    to be read/write barriers to it.

21 years agoMFL: Don't install irq handler unless the driver has been initialized.
Eric Anholt [Sat, 26 Apr 2003 23:04:22 +0000 (23:04 +0000)]
MFL: Don't install irq handler unless the driver has been initialized.

21 years agoAdd PCI DMA memory functions and make addbufs_pci and associated code use
Eric Anholt [Sat, 26 Apr 2003 22:52:39 +0000 (22:52 +0000)]
Add PCI DMA memory functions and make addbufs_pci and associated code use
    it. To do this we need to save the bus address along with the virtual
    address in the seglist. Also fix some error handling and a few bits of
    whitespace.

21 years agoEnsure driver has been initialized (dev_private != NULL) before installing
Leif Delgass [Sat, 26 Apr 2003 22:28:56 +0000 (22:28 +0000)]
Ensure driver has been initialized (dev_private != NULL) before installing
    irq handler in DRM(irq_install). Modify all drivers to ensure irq
    handler is removed before cleanup and cleanup is called at takedown.
    Remove unused buffer private struct fields in i810, i830. Check for
    lock on init/cleanup in all drivers except i810/i830. The current DDX
    for i810 and i830 doesn't hold the lock on kernel init (FIXME?).

21 years agoMissed files in the last commit: Remove memory debugging sysctl unless
Eric Anholt [Sat, 26 Apr 2003 22:21:37 +0000 (22:21 +0000)]
Missed files in the last commit: Remove memory debugging sysctl unless
    MEMORY_DEBUG is set.

21 years agoMove the memory functions with debugging info to drm_memory_debug.h, and
Eric Anholt [Sat, 26 Apr 2003 22:18:39 +0000 (22:18 +0000)]
Move the memory functions with debugging info to drm_memory_debug.h, and
    remove a couple of dead functions.

21 years agoRemove #if 0'ed code.
Eric Anholt [Sat, 26 Apr 2003 21:57:43 +0000 (21:57 +0000)]
Remove #if 0'ed code.

21 years ago2.5.x sync patch from Linus Torvalds
Keith Whitwell [Sat, 26 Apr 2003 21:33:44 +0000 (21:33 +0000)]
2.5.x sync patch from Linus Torvalds

21 years agomove prototypes for gamma functions to gamma_drv.h
Keith Whitwell [Sat, 26 Apr 2003 21:22:08 +0000 (21:22 +0000)]
move prototypes for gamma functions to gamma_drv.h

21 years agoRemove #if 0'd code
Keith Whitwell [Sat, 26 Apr 2003 21:21:36 +0000 (21:21 +0000)]
Remove #if 0'd code

21 years agoReplace the C atomic_cmpset_int compatibility function for -stable with the
Eric Anholt [Sat, 26 Apr 2003 06:53:22 +0000 (06:53 +0000)]
Replace the C atomic_cmpset_int compatibility function for -stable with the
    real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever
    have DRM support for non-i386.

21 years agoDisable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
Eric Anholt [Sat, 26 Apr 2003 06:39:55 +0000 (06:39 +0000)]
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
    setting for AGP cards on SMP machines.

21 years agoFix potential oops and memory leaks when allocations fail in
Leif Delgass [Fri, 25 Apr 2003 19:42:47 +0000 (19:42 +0000)]
Fix potential oops and memory leaks when allocations fail in
    addbufs_agp/pci. Add support for buffer private structs with PCI DMA
    buffers. Also some debug format string fixes.

21 years agoMerge from FreeBSD-current.
Eric Anholt [Fri, 25 Apr 2003 02:27:21 +0000 (02:27 +0000)]
Merge from FreeBSD-current.

21 years agoTargets for building dristat and drmstat.
David Dawes [Fri, 25 Apr 2003 00:57:42 +0000 (00:57 +0000)]
Targets for building dristat and drmstat.

21 years agoClean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more
Eric Anholt [Fri, 25 Apr 2003 00:02:14 +0000 (00:02 +0000)]
Clean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more
    legible.

21 years agoClean up the style of the linux-compat code and use ioctl() directly rather
Eric Anholt [Thu, 24 Apr 2003 23:57:29 +0000 (23:57 +0000)]
Clean up the style of the linux-compat code and use ioctl() directly rather
    than reimplementing it.

21 years agoPass dma handle from pci_alloc_consistent to the card for status page,
Leif Delgass [Thu, 24 Apr 2003 23:18:33 +0000 (23:18 +0000)]
Pass dma handle from pci_alloc_consistent to the card for status page,
    rather than using virt_to_bus() on the virtual address.

21 years agoRemove more gamma DMA infrastructure. Most of this code was copied straight
Eric Anholt [Thu, 24 Apr 2003 19:09:55 +0000 (19:09 +0000)]
Remove more gamma DMA infrastructure. Most of this code was copied straight
    from linux, so it could be added back if some driver needed it in the
    future.

21 years agoRemove unused dev->map_count. We always iterate the maplist with
Leif Delgass [Thu, 24 Apr 2003 16:55:22 +0000 (16:55 +0000)]
Remove unused dev->map_count. We always iterate the maplist with
    list_for_each() and the count is not updated or used for stats.

21 years agoMinor cleanups for dri/drmstat test progs (Both still need targets for new
Leif Delgass [Thu, 24 Apr 2003 16:47:32 +0000 (16:47 +0000)]
Minor cleanups for dri/drmstat test progs (Both still need targets for new
    Makefile)

21 years agoRemove unused variables
Leif Delgass [Thu, 24 Apr 2003 15:29:30 +0000 (15:29 +0000)]
Remove unused variables

21 years agoMove the debug versions of the DRM memory functions to a new file and
Keith Whitwell [Thu, 24 Apr 2003 10:02:18 +0000 (10:02 +0000)]
Move the debug versions of the DRM memory functions to a new file and
    implement non-debug ones as standard.

21 years agoRemove #if 0'd code and some unused string functions
Keith Whitwell [Thu, 24 Apr 2003 09:41:33 +0000 (09:41 +0000)]
Remove #if 0'd code and some unused string functions

21 years agoRemove more gamma DMA code. This isn't all of it, but it's a major portion.
Eric Anholt [Thu, 24 Apr 2003 06:19:54 +0000 (06:19 +0000)]
Remove more gamma DMA code. This isn't all of it, but it's a major portion.

21 years agoMove some common code from addbufs_<type> to addbufs. Make buf_alloc be
Eric Anholt [Thu, 24 Apr 2003 05:56:44 +0000 (05:56 +0000)]
Move some common code from addbufs_<type> to addbufs. Make buf_alloc be
    protected by the count_lock and make it non-atomic.

21 years agoRemove the ioctl_count variable from the device. A reference is held to the
Eric Anholt [Thu, 24 Apr 2003 05:14:05 +0000 (05:14 +0000)]
Remove the ioctl_count variable from the device. A reference is held to the
    fp throughout the ioctl syscall, so the device can't be closed out from
    under us.

21 years agoRemove a bunch of dead code and fix spelling of a couple of comments.
Eric Anholt [Thu, 24 Apr 2003 04:50:07 +0000 (04:50 +0000)]
Remove a bunch of dead code and fix spelling of a couple of comments.

21 years agoSingle/dual rasterizer quiescence patch for the glint/gamma DRI driver
David Dawes [Thu, 24 Apr 2003 03:01:40 +0000 (03:01 +0000)]
Single/dual rasterizer quiescence patch for the glint/gamma DRI driver
    (#5685, Sven Luther).

21 years agobreak long line
David Dawes [Thu, 24 Apr 2003 02:56:06 +0000 (02:56 +0000)]
break long line

21 years agoMove one definition to drm_drv.h and remove the rest of drm_init.h which
Eric Anholt [Thu, 24 Apr 2003 00:46:03 +0000 (00:46 +0000)]
Move one definition to drm_drv.h and remove the rest of drm_init.h which
    was all unused.

21 years agoRemove DRM_DMA_HISTOGRAM and associated code.
Eric Anholt [Thu, 24 Apr 2003 00:37:35 +0000 (00:37 +0000)]
Remove DRM_DMA_HISTOGRAM and associated code.