summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-11Context switching work.Stephane Marchesin
Added preliminary support for context switches (triggers the interrupts, but hangs after the switch ; something's not quite right yet). Removed the PFIFO_REINIT ioctl. I hope it's that a good idea... Requires the upcoming commit to the DDX.
2006-09-17Add pciid for GeForce Go 6150 (0x0244).Ben Skeggs
2006-09-09Add copyright notices while I still remember..Ben Skeggs
2006-09-07Fix second start of X server without module reload beforehand, and a couple ↵Ben Skeggs
of other fixes. - Mark the correct RAMIN slots as free (oops) - Remove a VRAM alloc that shouldn't have been there (oops) - Move HT init out of firstopen() and into dma_init() - Setup PFIFO_RAM{HT,FC,RO} in pfifo_init()
2006-09-07Remove a 64 bit div.Stephane Marchesin
2006-09-03Allow cmdbuf location(AGP,VRAM) and size to be configured.Ben Skeggs
2006-09-02Use DMA_IN_MEMORY for DMA objects. This is needed for a DDX change that willBen Skeggs
be committed soon after this. Without the change, MEMFORMAT_DMA_OUT appears to have no effect.
2006-08-30Add stub {get,set}param ioctls.Ben Skeggs
2006-08-29Merge branch 'master' into nouveau-1Dave Airlie
2006-08-28drm: lots of small cleanups and whitespace issues fixed upDave Airlie
remove a mach64 warning, align a lot of things from linux kernel
2006-08-28add static function, and remove bad attributionsDave Airlie
2006-08-28fix const pointer warnings with file_operationsDave Airlie
2006-08-28remove local copies of pci domain/bus/slot/numDave Airlie
2006-08-28remove some DRM_ARRAY_SIZE from linux core codeDave Airlie
2006-08-28fixup some of the comments in drm_context.cDave Airlie
2006-08-28drm: i810_dma.c: fix pointer arithmetic for 64-bit targetDave Airlie
First warning result from open-coded PTR_ERR, the rest is caused by code like this: *(u32 *) ((u32) buf_priv->kernel_virtual + used) I've also fixed a missing PTR_ERR in i830_dma.c From: Denis Vlasenko <vda.linux@googlemail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
2006-08-27add pci ids for nouveauDave Airlie
2006-08-27initial import of nouveau code from nouveau CVSDave Airlie
2006-08-26Bug #7595: Avoid u32 overflows in radeon_check_and_fixup_offset().Michel Dänzer
The overflows could cause valid offsets to get rejected under some circumstances, e.g. when the framebuffer resides at the very end of the card's address space.
2006-08-23Fix previous commit: Only fall back to hashed handlesThomas Hellstrom
when there is a duplicate handle error. Not for other errors.
2006-08-23Allow multiple addMaps with the same 32-bit map offset.Thomas Hellstrom
(Reported by Dave Airlie)
2006-08-23Fix hashtab implementation leaking illegal error codes to user space.Thomas Hellstrom
(Reported by Dave Airlie)
2006-08-19drm: lots of small cleanups and whitespace issues fixed upDave Airlie
remove a mach64 warning, align a lot of things from linux kernel
2006-08-19add static function, and remove bad attributionsDave Airlie
2006-08-19fix const pointer warnings with file_operationsDave Airlie
2006-08-19remove local copies of pci domain/bus/slot/numDave Airlie
2006-08-19remove some DRM_ARRAY_SIZE from linux core codeDave Airlie
2006-08-19fixup some of the comments in drm_context.cDave Airlie
2006-08-19drm: i810_dma.c: fix pointer arithmetic for 64-bit targetDave Airlie
First warning result from open-coded PTR_ERR, the rest is caused by code like this: *(u32 *) ((u32) buf_priv->kernel_virtual + used) I've also fixed a missing PTR_ERR in i830_dma.c From: Denis Vlasenko <vda.linux@googlemail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
2006-08-16Remove hash tables on DRM exit.Thomas Hellstrom
2006-08-14Avoid kernel oops in some error paths calling drm_lastclose().Thomas Hellstrom
2006-08-14remove all TRUE instances as wellDave Airlie
2006-08-14remove all TRUE/FALSE no need for this in the drm, use 0 or 1Dave Airlie
2006-08-10i965 code and Linux coding style < 0Dave Airlie
smack my whitespace up.
2006-08-10cleanup some whitespace issue and move compat code to compat headerDave Airlie
2006-08-10clean up script to create an lk drm directoryDave Airlie
2006-08-10drm: ati_pcigart cleanupDave Airlie
use NULL instead of 0, cleanup some whitespace
2006-08-08Add support for Intel i965G chipsets.Alan Hourihane
This is a patch prepared by Guangdeng Liao based off of Tungsten Graphics's final code drop.
2006-08-07drm: whitespace cleanup in new filesDave Airlie
2006-08-07drm: remove extra whitespace from drm_mm.cDave Airlie
2006-08-07drm: fixup whitespace and style for Linux kernel importDave Airlie
2006-07-26Revert "Make sure busmastering gets disabled on module unload."Michel Dänzer
This reverts af7b89d7246efbed7d05c38fcaa6a13c4b89db90 commit. It causes an oops on X server shutdown here, and for the reporter of bug #7629 as well.
2006-07-26Bug #7629: Fix for CHIP_IS_AGP getting 'restored' with non-AGP cardsMichel Dänzer
Commit 2a47f6bfecea5dabcbf79d5e1aaf271f50070b89 caused the CHIP_IS_AGP flag to get 'restored' with PCI(e) cards. I can't think of a way to fix this without introducing a (otherwise redundant) CHIP_IS_PCI flag.
2006-07-24remove incorrect exit marking on cleanup pci as this is called from other pathsDave Airlie
2006-07-24switch drm to use Linux mutexes instead of semaphore.Dave Airlie
I hope the fallback compat code works if not shout at me.
2006-07-19Delete the pre-core DRM code with extreme prejudice.Adam Jackson
2006-07-19Make sure busmastering gets disabled on module unload.Adam Jackson
2006-07-19Use RADEON_RB3D_DSTCACHE_CTLSTAT instead of RADEON_RB2D_DSTCACHE_CTLSTAT.Michel Dänzer
The latter seems to be a read-only mirror of the former.
2006-07-19Make sure CHIP_IS_AGP flag is set when not overriding to PCI mode.Michel Dänzer
This allows using AGP after overriding to PCI mode in a previous session without reloading the DRM.
2006-07-19When writeback isn't used, actually disable it in the hardware.Michel Dänzer
Not doing this might waste bus bandwidth or even cause memory corruption or system crashes on systems that check bus transfers. No such incident has been reported though.