summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-08-15Add a regression test for the setversion interface.Eric Anholt3-0/+86
2007-08-15Add simple regression test for getstats (does it not crash the kernel?).Eric Anholt3-0/+53
2007-08-15BSD: Replace brief description in each file's first line with doxygen later on.Eric Anholt17-48/+107
The brief descriptions usually had the wrong filename in them.
2007-08-15nouveau: Use count parameter in nouveau_notifier_alloc().Ben Skeggs1-2/+3
2007-08-15nouveau: Turn some messages into DRM_DEBUGs..Ben Skeggs1-2/+2
2007-08-15nouveau: Allow GART notifiers when using sgdma code.Ben Skeggs3-9/+39
2007-08-15nouveau: Workaround mysterious PRAMIN clobbering by the card.Ben Skeggs1-0/+8
2007-08-15nouveau: Catch all NV4x chips instead of just NV_40.Ben Skeggs1-5/+2
2007-08-15nouveau/nv40: Fix channel scheduling.Ben Skeggs3-1/+15
Ensure NV_PFIFO_DMA_TIMESLICE_TIMEOUT_ENABLE gets set, otherwise channels will appear to "freeze" in some circumstances.
2007-08-13Bug #11895: Only add the AGP base to map offset if the caller didn't.Eric Anholt1-4/+10
The i830 and newer intel 2D code adds the AGP base to map offsets already, because it wasn't doing the AGP enable which used to set dev->agp->base. Credit goes to Zhenyu for finding the issue.
2007-08-13Bug #11951: Fix an errno sign inversion on pre-FreeBSD 5.vehemens4-1/+6
Also, annotate where signs change, to hopefully remind the reader of these issues in the future.
2007-08-13Add a regression test for authentication.Eric Anholt3-1/+140
2007-08-13Add doxygen and fix whitespace for drm_auth.cEric Anholt1-3/+25
2007-08-13Fix drm_auth.c locking to not recurse on dev_lock.vehemens1-4/+7
2007-08-11i915: i965 non-secure batchbuffer bit has moved.Dave Airlie2-2/+10
2007-08-10nouveau/nv50: demagic instmem setup.Ben Skeggs9-137/+217
2007-08-10nouveau: Allow creation of gpuobjs before any other init has taken place.Ben Skeggs3-3/+30
2007-08-09nouveau: silence irq handler a bitBen Skeggs1-67/+20
2007-08-09nouveau/nv40: add some missing pciids.Ben Skeggs1-3/+25
2007-08-08nouveau : nv10, nv20, nv30 : don't save all channel in the same RAMFC entryMatthieu Castet1-1/+1
This should improve multi fifo
2007-08-08nouveau: Always allocate drm's push buffer in VRAMBen Skeggs3-37/+53
Fixes #11868
2007-08-08nouveau: return channel idBen Skeggs1-0/+1
2007-08-08nouveau/nv50: hack up initial channel context from current stateBen Skeggs1-0/+6
We really should be providing static values like the nv40 PGRAPH code does, however, this will do for now to keep X at least working.
2007-08-08nouveau: enable/disable engine-specific interrupts in _init()/_takedown()Ben Skeggs12-90/+36
All interrupts are still masked by PMC until init is finished.
2007-08-07nouveau : fix enable irq (in the previous code all irq were masked by engineMatthieu Castet2-3/+9
init after irq_postinstall)
2007-08-06Initialize the AGP structure's base address at init rather than enable.Eric Anholt1-1/+1
Not all drivers call enable (intel), but they would still like to use this member in driver code.
2007-08-07nouveau: Init global gpuobj list early, unbreaks sgdma code.Ben Skeggs2-2/+2
2007-08-06nouveau: Bump PCI GART to 16MBStephane Marchesin1-1/+1
2007-08-06nouveau: ouch, add nouveau_dma.[ch] files..Ben Skeggs4-0/+268
2007-08-06Export some useful ttm functions to drivers.Ben Skeggs3-4/+23
2007-08-06nouveau: Remove PGRAPH_SURFACE hack, it wont work now anyway.Ben Skeggs1-13/+0
Need to find another way of doing this, ideally someone'd hunt down which object/method controls it! The Xv blit adaptor is likely now broken on cards that have pNv->WaitVSyncPossible enabled.
2007-08-06nouveau: Give DRM its own gpu channelBen Skeggs6-10/+44
If your card doesn't have working context switching, it is now broken.
2007-08-06nouveau: Determine trapped channel id from active grctx on >=NV40Ben Skeggs1-1/+58
2007-08-06nouveau: Various internal and external API changesBen Skeggs10-91/+202
1. DRM_NOUVEAU_GPUOBJ_FREE Used to free GPU objects. The obvious usage case is for Gr objects, but notifiers can also be destroyed in the same way. GPU objects gain a destructor method and private data fields with this change, so other specialised cases (like notifiers) can be implemented on top of gpuobjs. 2. DRM_NOUVEAU_CHANNEL_FREE 3. DRM_NOUVEAU_CARD_INIT Ideally we'd do init during module load, but this isn't currently possible. Doing init during firstopen() is bad as X has a love of opening/closing the DRM many times during startup. Once the modesetting-101 branch is merged this can go away. IRQs are enabled in nouveau_card_init() now, rather than having the X server call drmCtlInstHandler(). We'll need this for when we give the kernel module its own channel. 4. DRM_NOUVEAU_GETPARAM Add CHIPSET_ID value, which will return the chipset id derived from NV_PMC_BOOT_0. 4. Use list_* in a few places, rather than home-brewed stuff.
2007-08-06nouveau: Pass channel struct around instead of channel id.Ben Skeggs16-521/+516
2007-08-03nouveau:nv10: fill and use load,save graph context functionsPatrice Mandin1-29/+26
2007-08-02Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/drmPatrice Mandin3-5/+13
2007-08-02Add libdrm source dir, to build tests from a different build dirPatrice Mandin1-2/+4
2007-08-02drm: add unlocked ioctl code path - not used yetDave Airlie2-1/+9
2007-08-01drm/fence: shut up lockdepDave Airlie1-2/+3
2007-07-31drm: fix fencing refcount errorDave Airlie1-2/+1
This extra increase was causing fence leaks on my system, due to create/user add already increasing it twice no need for a 3rd go.
2007-07-27nouveau: creating notifier in PCI memory for PCIGARTArthur Huillet1-0/+5
2007-07-26drm/bo: set the req pointer for each buffer to validateDave Airlie1-1/+1
2007-07-26drm: fix size argument for copy to/from userDave Airlie1-2/+2
2007-07-25Improve the drawable test to use multiple drawables.Eric Anholt1-21/+42
2007-07-25Fix copy'n'paste-o in FreeBSD drawable code.Eric Anholt1-1/+1
2007-07-23drm_rmmap_ioctl(): remove dead codeAdrian Bunk1-5/+0
This patch removes some obviously dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de>
2007-07-21Fix misc ioctl issues, makes Nouveau run.Pekka Paalanen4-6/+11
Debug print fix in drm_release(). Forgotten local variable init in drm_setversion(). Unnecessary put_user() in drm_addmap_ioctl(). ioctl->cmd check broken in drm_ioctl(); workaround.
2007-07-21fix missing brace placement for IOC_INDave Airlie1-2/+3
2007-07-21fix drm no-compile due to BSD :-)Dave Airlie1-1/+1