summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2002-06-26Less verbose ring and buffer dump routines in the DRM to avoid overflowmach64-0-0-4-branchJose Fonseca1-27/+53
2002-06-21Fixed the endian problems in mach64_clear_bit in non-x86 architectures andJose Fonseca1-28/+15
2002-06-19Use of atomic bit ops in ADVANCE_RING() to lock the BUS when writing to theJose Fonseca2-27/+57
2002-06-15Use of le32_to_cpu for the descriptor data and other small fixes inJose Fonseca1-11/+14
2002-06-13verify blit buffer sizeLeif Delgass1-0/+4
2002-06-12Better structuring of UPDATE_RING_HEAD and ring related code.Jose Fonseca2-104/+213
2002-06-11Fixed the bug which caused some lockups: UPDATE_RING_HEAD could (and was)Jose Fonseca2-55/+44
2002-06-08First half of commit (DRM) for blits using BM_HOSTDATA. This elminates theLeif Delgass3-10/+84
2002-06-08Added mach64_dump_ring - a function to dump the active portion of the ringJose Fonseca2-0/+74
2002-06-07Protect the GETBUFPTR and GETBUFADDR macros with parenthesis so that theyJose Fonseca1-2/+2
2002-06-06Fix bug in UPDATE_RING_HEAD when calculating head_addr. Also some codeLeif Delgass2-62/+34
2002-06-06The bus master operation is now always checked on the wait loops, fixingJose Fonseca2-175/+69
2002-06-04Don't release all buffers in the pending list in do_dma_idle for theLeif Delgass1-1/+3
2002-06-01Code clean up, added RING macros, initial try at emitting descriptors toLeif Delgass4-307/+476
2002-05-29Do not add commands to the end of each buffer to disable busmastering, soJose Fonseca1-6/+8
2002-05-28Initialize the freelists before doing any check to the X server data, toJose Fonseca1-4/+5
2002-05-25Fix leak of temporary data table if bus master test failsmach64-0-0-4-dma-branchLeif Delgass1-3/+6
2002-05-23fix typo in DRIVER_UNINSTALL() macroLeif Delgass1-1/+1
2002-05-23Add conditional definition of list_for_each_safe for earlier kernels.Leif Delgass2-5/+9
2002-05-22- Check BM_GUI_TABLE for buffer completion rather than using patternLeif Delgass3-93/+195
2002-05-18Checkpoint commit of async DMA, blits and AGP texturing. Buffer aging isLeif Delgass10-467/+920
2002-05-08- interrupt-driven DMA framework written by Frank C. Earl (merged fromLeif Delgass8-167/+671
2002-05-02Use of readl/writel macros for MMIOJose Fonseca2-4/+3
2002-05-01Fix typo in last commit (cleanup fix)Leif Delgass1-3/+3
2002-05-01Fix bug in _do_cleanup_dma with freeing descriptor tableLeif Delgass1-8/+9
2002-05-01fix buffer size in descriptor for DMA test.Leif Delgass1-1/+1
2002-05-01Enable/disable DMA based on result of gui-mastering test. MMIO mode canLeif Delgass3-138/+141
2002-04-30Use DMA by default.Jose Fonseca1-1/+1
2002-04-28Disable code that was causing kernel oops. I haven't yet determined why theLeif Delgass1-1/+2
2002-04-28Byte swapping for vertex DMA data and DMA descriptorsLeif Delgass3-21/+24
2002-04-27Account for endianess in register reads/writes.Leif Delgass1-5/+3
2002-04-27use virt_to_bus instead of virt_to_phys to get DMA buffer address, whichLeif Delgass1-2/+2
2002-04-26remove duplicate prototype for mach64_do_wait_for_idle (oops)Leif Delgass1-1/+0
2002-04-26Initial hacked-up code for synchronous DMA of vertex buffers (disabled butLeif Delgass3-8/+392
2002-04-23Better support for kernel ring buffers. Changes to allow the evetual use ofJose Fonseca3-6/+51
2002-04-21Fixed the DMA emul code which was checking the FIFO every 17th entryJose Fonseca1-2/+2
2002-04-21Changed the DMA emulation code to wait for FIFO instead of idle engineJose Fonseca2-12/+2
2002-04-21Slighty more optimized DMA emulation C code. Support for waiting forJose Fonseca1-16/+29
2002-04-21Implement streamlined vertex buffer by setting up multiple sequentialLeif Delgass1-42/+7
2002-04-20Forgot to increment the register number in the pseudo DMA algorithmJose Fonseca1-1/+1
2002-04-20Fixed another discrepancy in mach64_drm.h (this one harmless because isJose Fonseca2-25/+62
2002-04-20Add agp texture region info to DRM. Also, use DMA* macros for DRMLeif Delgass4-25/+51
2002-04-20Fix a discrepancy in the definition of the upload flags. This still doesn'tJose Fonseca1-2/+2
2002-04-20Added the state hardware programming functions to hereJose Fonseca2-1/+88
2002-04-20Preliminary changes required for AGP textures. AGP texture area is nowLeif Delgass1-1/+1
2002-04-20Fixed the DMA emulation code thanks to KeithJose Fonseca2-45/+7
2002-04-19Code restructuring to be more similar to the existing drivers.Jose Fonseca9-260/+361
2002-04-15Removal of erroneous PCI GART code. Better support for PCI cards. Moremach64-0-0-3-branchJose Fonseca3-29/+27
2002-04-12Error checking when mapping as is done in other driversJose Fonseca1-8/+43
2002-04-09Make sure we wait for enough FIFO entries (needed to add 2 to account forLeif Delgass1-2/+2