aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* [gem] Enable bo_reuse by default.Eric Anholt2008-06-111-1/+1
| | | | | | | The objects are swappable, so we're less concerned by excessive object allocation now, and it's about a 20% performance improvement. If we get concerns about the memory consumption from others, we can look into a compromise position later.
* [intel-gem] Call the new throttle ioctl from swap buffersKeith Packard2008-06-061-0/+2
| | | | | Swap buffers is a fairly reasonable time to wait for the hardware for a while; this keeps us from overrunning the ring.
* Merge commit 'origin/master' into drm-gemKeith Packard2008-06-0350-1844/+6615
|\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h src/mesa/drivers/dri/intel/intel_ioctl.c
| * mesa/drm/ttm: allow build against non-TTM aware libdrmDave Airlie2008-06-046-1/+84
| | | | | | | | | | | | | | I'll release a libdrm 2.3.1 without TTM apis included from a special drm branch that should allow mesa 7.1 to build against it. I've had to turn off DRI2 stuff.
| * bug #16503: use INSTALL macro instead of hard-coding to bin/minstallIan Romanick2008-06-021-3/+3
| | | | | | | | | | This is only part of the fix. Someone with more autoconf-fu will have to fix the rest
| * r500: add missing brackets around depth testingDave Airlie2008-06-021-1/+2
| |
| * r5xx: Enable depth write emission.Corbin Simpson2008-06-013-2/+11
| | | | | | | | Thanks to nh for the r3xx version.
| * r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle2008-06-013-30/+54
| | | | | | | | | | | | | | | | | | | | | | Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
| * [r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle2008-06-012-57/+72
| | | | | | | | | | | | | | | | | | | | | | The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
| * r5xx: Add OPCODE_FLR.Corbin Simpson2008-06-011-0/+32
| | | | | | | | Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
| * r5xx: Last emit_sop() for now.Corbin Simpson2008-05-311-41/+5
| | | | | | | | This should also clean up LIT later on.
| * r5xx: More emit_sop(), stage 2.Corbin Simpson2008-05-311-24/+14
| | | | | | | | SIN/COS.
| * r5xx: Cleanup SOP with emit_sop().Corbin Simpson2008-05-311-49/+43
| | | | | | | | | | I wish I had a snarky commit message, but I'll save that for after I get the trig working with this.
| * r5xx: Dump shader constants when dumping program assembly.Corbin Simpson2008-05-311-0/+13
| |
| * r300: disable the lowimpact fallbacks by default.Dave Airlie2008-06-011-1/+1
| | | | | | | | because really we should be able to just fix the driver.
| * r500: Use 8bit fog alpha compare value.Markus Amsler2008-05-311-0/+1
| | | | | | | | | | This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
| * Fix segfault on exit in unichrome driver (bug 16150)Luc Verhaegen2008-05-291-27/+29
| |
| * R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.Dennis Kasprzyk2008-05-293-12/+18
| |
| * Report correct damage rectangle in CopySubBuffer.Dennis Kasprzyk2008-05-291-2/+2
| |
| * r300: fix R300_FG_ALPHA_FUNC_VAL_MASKMarkus Amsler2008-05-291-1/+1
| |
| * r300: disable cmdbuf debug againDave Airlie2008-05-281-1/+1
| |
| * Merge branch 'r500-support'Dave Airlie2008-05-2821-1337/+4571
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
| | * r500: remove warnings and only start on newer drms.Dave Airlie2008-05-281-8/+5
| | | | | | | | | | | | | | | This removes lots of warnings to the user, and only allows the driver to run on > .29 drms for r500 cards.
| | * R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher2008-05-283-28/+42
| | |
| | * r500: cleanup warnings and include filesDave Airlie2008-05-284-37/+4
| | |
| | * r5xx: Add OPCODE_XPD. In working condition, I might add.Corbin Simpson2008-05-271-0/+60
| | | | | | | | | | | | | | | | | | | | | And we're officially finished with the ARB_fragment_program instruction set. It's worth noting that LIT is still not reliable. SIN and COS were fixed a few commits ago. We're finished with stage 1! Whoohoo!
| | * r5xx: Just a few small LIT fixes.Corbin Simpson2008-05-271-5/+5
| | | | | | | | | | | | Still broken; will fix tomorrow.
| | * r5xx: Fix emit_mov() regression.Corbin Simpson2008-05-271-0/+15
| | | | | | | | | | | | Specifically, fix improper swizzling.
| | * r500: the cs is shared per context - doh so don't use for program upload.Dave Airlie2008-05-273-20/+2
| | | | | | | | | | | | Also remove some unused bits of the r500 fragprog struct
| | * r500: need to re-setup inst offset/end for translated programsDave Airlie2008-05-271-0/+3
| | | | | | | | | | | | this fixes texenv
| | * r500: reset fp/fp_const countsDave Airlie2008-05-271-0/+3
| | |
| | * r300/r500: emit flush inside vap_cntl state atomDave Airlie2008-05-274-13/+22
| | | | | | | | | | | | Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
| | * r500: hopefully fix 4096 texture harderDave Airlie2008-05-271-11/+15
| | |
| | * r5xx: Fix FP temp counting.Corbin Simpson2008-05-261-5/+8
| | | | | | | | | | | | | | | One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding...
| | * r500: remove debuggingDave Airlie2008-05-271-1/+0
| | |
| | * r300/r500: fix r500 fragment program texture unit referencesDave Airlie2008-05-271-1/+4
| | |
| | * r500: initial support for tmu mappingsDave Airlie2008-05-271-35/+83
| | |
| | * r5xx: Enhance emit_mov().Corbin Simpson2008-05-261-16/+11
| | | | | | | | | | | | Now we can add arbitrary sources and swizzles. Will make many things smoother.
| | * r5xx: Moar LIT.Corbin Simpson2008-05-261-55/+57
| | | | | | | | | | | | Still not working, but getting closer.
| | * r5xx: First stab at LIT.Corbin Simpson2008-05-261-0/+106
| | |
| | * Replace copyright on r500_fragprog.cCorbin Simpson2008-05-251-0/+3
| | | | | | | | | | | | | | | Huh, could have sworn I already did this once before... Maybe I forgot to commit it?
| | * r5xx: Unbreak texture swizzling.Corbin Simpson2008-05-251-7/+6
| | |
| | * r5xx: Massive MAD cleanup.Corbin Simpson2008-05-251-88/+18
| | | | | | | | | | | | | | | Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors.
| | * r5xx: Negation masks for every inst except SWZ.Corbin Simpson2008-05-251-1/+7
| | | | | | | | | | | | Yay?
| | * r5xx: More emit_alu().Corbin Simpson2008-05-251-3/+21
| | | | | | | | | | | | Converted ADD.
| | * r5xx: Add emit_mad() for FP.Corbin Simpson2008-05-251-2/+65
| | | | | | | | | | | | | | | If it uses MAD, emit it with emit_mad()! (Now available at your local grocer's. Multiply and add responsibly.)
| | * r5xx: Consolidate FP tex insts.Corbin Simpson2008-05-241-15/+5
| | | | | | | | | | | | They're all the same, really.
| | * r5xx: Fix SGE/SLT.Corbin Simpson2008-05-241-32/+64
| | |
| | * r5xx: Remove some debugging cruft.Corbin Simpson2008-05-241-4/+1
| | |
| | * r500: missed a couple of inst4s.Dave Airlie2008-05-241-2/+1
| | |