summaryrefslogtreecommitdiff
path: root/shared-core
AgeCommit message (Expand)Author
2006-12-19fix some sizes in sis_drv.hDave Airlie
2006-12-19remove inline from large functionDave Airlie
2006-12-19make a savage function static from kernelDave Airlie
2006-12-19fix missing DRM_ERR from kernelDave Airlie
2006-12-14Unify radeon offset checking.Michel Dänzer
2006-12-12Port remaining NV4 RAMIN access from the ddx into the drm.Ben Skeggs
2006-12-03Merge the pciid work.Stephane Marchesin
2006-12-01Unshare drm_drawable.c again for now.Michel Dänzer
2006-11-30Use nouveau_mem.c to allocate RAMIN.Ben Skeggs
2006-11-30Wrap access to objects in RAMIN.Ben Skeggs
2006-11-28For nv10, bit 16 of RAMFC need to be set for 64 bytes fifo context.Matthieu Castet
2006-11-27i915_vblank_tasklet: Try harder to avoid tearing.Michel Dänzer
2006-11-21Merge branch 'nouveau-1' of git+ssh://marcheu@git.freedesktop.org/git/mesa/dr...Stephane Marchesin
2006-11-21Don't spam dmesg if PMC_INTSTAT is 0Ben Skeggs
2006-11-18Only return FIFO number if the FIFO is marked as in use..Ben Skeggs
2006-11-18Check some return vals, fixes a couple of oopses.Ben Skeggs
2006-11-17Dump some useful info when a PGRAPH error occurs.Ben Skeggs
2006-11-16Merge branch 'nouveau-1' of git+ssh://marcheu@git.freedesktop.org/git/mesa/dr...Stephane Marchesin
2006-11-14Completely untested NV10/20/30 FIFO context switching changes.Ben Skeggs
2006-11-14Restructure initialisation a bit.Ben Skeggs
2006-11-14Merge branch 'nouveau-1' of git+ssh://git.freedesktop.org/git/mesa/drm into n...Ben Skeggs
2006-11-14Hack around yet another "X restart borkage without nouveau.ko reload" problem.Ben Skeggs
2006-11-11Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/mesa/drm i...Stephane Marchesin
2006-11-10Fix memory detection on TNT2 M64/TNT2 vanta.Stephane Marchesin
2006-11-07Add drm_u64_t typedef on non-linux to fix libdrm build.Eric Anholt
2006-11-06drm: fixup page alignment on SAREA map on ppc64Dave Airlie
2006-11-06fixup fifo size so it is page alignedDave Airlie
2006-11-06use a uint64_t for this not a pointerDave Airlie
2006-11-06Merge branch 'master' into nouveau-1Dave Airlie
2006-11-06Leave the bottom 64kb of RAMIN untouched.Ben Skeggs
2006-11-05nouveau: add compat ioc32 supportDave Airlie
2006-11-05add powerpc mmio swapper to NV_READ/WRITE macrosDave Airlie
2006-11-04Add some getparams.Stephane Marchesin
2006-11-04Move the context object creation flag handling to the drm.Stephane Marchesin
2006-10-27Reserve the new IOCTLs also for *bsd.Thomas Hellstrom
2006-10-27Last minute changes to support multi-page size buffer offset alignments.Thomas Hellstrom
2006-10-19Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drmThomas Hellstrom
2006-10-18Merging drm-ttm-0-2-branchThomas Hellstrom
2006-10-17Remove max number of locked pages check and call, sinceThomas Hellstrom
2006-10-18Remove hack which delays activation of a additional channel. The previously ...Ben Skeggs
2006-10-18Oops, we have more than 4 subchannels..Ben Skeggs
2006-10-17Useful output on a FIFO error interrupt.Ben Skeggs
2006-10-17typoBen Skeggs
2006-10-17Extend generality for more memory types.Thomas Hellstrom
2006-10-16dev->agp_buffer_map is not initialized for AGP DMA on savagesMichael Karcher
2006-10-17NV40: *Now* fifo ctx switching works for me..Ben Skeggs
2006-10-17NV40: FIFO context switching now WorksForMe(tm)Ben Skeggs
2006-10-17Setup NV40 RAMFC (in wrong location.. but anyway), rearrange the RAMFC setup ...Ben Skeggs
2006-10-17Some info on NV40's RAMFCBen Skeggs
2006-10-15Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/drm into nouv...Stephane Marchesin
pan class="hl opt">, dmah->map); bus_dma_tag_destroy(dmah->tag); free(dmah, M_DRM); return NULL; } #elif defined(__NetBSD__) ret = bus_dmamem_alloc(dev->dma_tag, size, align, PAGE_SIZE, &dmah->seg, 1, &nsegs, BUS_DMA_NOWAIT); if ((ret != 0) || (nsegs != 1)) { free(dmah, M_DRM); return NULL; } ret = bus_dmamem_map(dev->dma_tag, &dmah->seg, 1, size, &dmah->addr, BUS_DMA_NOWAIT); if (ret != 0) { bus_dmamem_free(dev->dma_tag, &dmah->seg, 1); free(dmah, M_DRM); return NULL; } dmah->dmaaddr = h->seg.ds_addr; #endif return dmah; } /** * \brief Free a DMA-accessible consistent memory block. */ void drm_pci_free(drm_device_t *dev, drm_dma_handle_t *dmah) { if (dmah == NULL) return; #if defined(__FreeBSD__) bus_dmamem_free(dmah->tag, dmah->vaddr, dmah->map); bus_dma_tag_destroy(dmah->tag); #elif defined(__NetBSD__) bus_dmamem_free(dev->dma_tag, &dmah->seg, 1); #endif free(dmah, M_DRM); } /*@}*/