summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-035-32/+141
|\
| * r600g: add NV_conditional_render support.Dave Airlie2011-03-013-26/+80
| | | | | | | | | | | | | | | | This is reliant on a drm patch that I posted on the list + a version bump. These will appear in drm-next today. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: start using drm minor version to enable things.Dave Airlie2011-03-012-6/+61
| | | | | | | | | | | | | | | | | | | | If the drm minor version is > 9 (i.e. whats in drm-next), we enable s3tc + texture tiling by default now. this changes R600_FORCE_TILING to R600_TILING which can be set to false to disable tiling on working drm. Signed-off-by: Dave Airlie <[email protected]>
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-02-248-48/+172
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state_inlines.h src/gallium/drivers/r600/r600_texture.c
| * r600g: silence a few valgrind warningsBrian Paterni2011-02-083-4/+4
| |
| * r600g: Make some more things static.Henri Verbeet2011-02-031-1/+1
| |
| * r600g: align the tiling modes with what the DDX and kernel expects.Dave Airlie2011-02-011-4/+3
| | | | | | | | | | | | | | If we see a MACRO bit on r600g its 2D tiled, if don't see a MACRO bit and we do see a MICRO bit then its 1D tiled. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: start looking at evergreen tiling.Dave Airlie2011-02-011-17/+60
| | | | | | | | | | | | | | | | this just adds the ioctl interface and sets the tile type and array mode in the correct place. This seems to bring eg 1D tiling to the same level, and issues as on r600. No idea how to address 2D yet.
| * scons: Gracefully handle pkg-config errors with libdrm_radeon.Vinson Lee2011-01-311-1/+6
| | | | | | | | Print warnings and continue build.
| * r600g: fix eg OQ properly.Dave Airlie2011-01-312-5/+3
| | | | | | | | the context init is separate for these gpus.
| * r600g: fix OQ on evergreenAlex Deucher2011-01-311-3/+6
| | | | | | | | | | | | 6xx/7xx have a max of 4 DBs, evergreen have a max of 8. Signed-off-by: Alex Deucher <[email protected]>
| * r600g: fix occlusion query results.Dave Airlie2011-01-311-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Like on some r5xx, there are multiple DB backends on the r600, we need to add up the query results from each of these to get the final correct value. So far I'm not 100% sure how to calculate the num_db, value setting it to 4 should be harmless enough until we do. This fixes occulsion_query piglit test on my rv740. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: Implement timer queries.Mathias Fröhlich2011-01-253-13/+73
| |
| * r600g: Implement asyncronous query results.Mathias Fröhlich2011-01-251-4/+13
| |
| * r600g: Fix meaning of num_results for queries.Mathias Fröhlich2011-01-251-4/+4
| |
| * fix potential leak in r600_context_initTim Wiederhake2011-01-251-1/+2
| |
| * silences some valgrind warningsTim Wiederhake2011-01-251-1/+1
| | | | | | | | | | ==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86)
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-203-41/+41
|\| | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c
| * r600g: Kill trailing whitespace.Henri Verbeet2011-01-183-41/+41
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-201-2/+0
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_shader.c
| * r600g: Remove the redundant radeon_new() prototype.Henri Verbeet2011-01-151-2/+0
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-125-40/+42
|\| | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_shader.c
| * r600g: move user fence into base radeon structureJerome Glisse2011-01-115-40/+42
| | | | | | | | | | | | | | This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <[email protected]>
* | r600g: place buffers into different domains, based on usage flagsChristian König2011-01-101-5/+18
|/
* r600g: add support for NI (Northern Islands) GPUsAlex Deucher2011-01-062-0/+39
| | | | This adds support for Barts, Turks, and Caicos asics.
* r600g: r600_new() and r600_delete() are unused.Henri Verbeet2010-12-224-124/+15
|
* r600g: remove useless switch statementsAlex Deucher2010-12-222-105/+0
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: drop unused code in evergreen.Dave Airlie2010-12-221-56/+0
| | | | | | | this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix bo size when creating bo from handleJerome Glisse2010-12-101-1/+1
| | | | | | Spoted by Alex Diomin Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Fix SCons build.Vinson Lee2010-12-092-3/+3
|
* r600g: avoid using pb* helper we are loosing previous cpu cycle with itJerome Glisse2010-12-099-388/+364
| | | | | | | | | | | | r600g is up to a point where all small CPU cycle matter and pb* turn high on profile. It's mostly because pb try to be generic and thus trigger unecessary check for r600g driver. To avoid having too much abstraction & too much depth in the call embedded everythings into r600_bo. Make code simpler & faster. The performance win highly depend on the CPU & application considered being more important on slower CPU and marginal/unoticeable on faster one. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix userspace fence against lastest kernelJerome Glisse2010-12-072-0/+3
| | | | | | | | | | | | | R6XX GPU doesn't like to have two partial flush writting back to memory in row without a prior flush of the pipeline. Add PS_PARTIAL_FLUSH to flush all work between the CP and the ES, GS, VS, PS shaders. Thanks a lot to Alban Browaeys (prahal on irc) for investigating this issue. Signed-off-by: Alban Browaeys <[email protected]> Signed-off-by: Jerome Glisse <[email protected]>
* r600g: remove useless flush mapJerome Glisse2010-12-062-30/+1
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Cleanup block bo references in r600_context_fini().Henri Verbeet2010-12-051-0/+3
|
* r600g: more indentation fix + warning silencing + dead code removalJerome Glisse2010-12-033-89/+12
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r300g/r600g: bump cache manager timeouts to 1sDave Airlie2010-11-251-1/+1
| | | | On lightsmark on my r500 this drop the bufmgr allocations of the sysprof.
* r600g: add support for ontario APUsAlex Deucher2010-11-223-0/+10
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: fix some winsys functions to deal properly with evergreenAlex Deucher2010-11-222-10/+15
| | | | Are these functions actually used anywhere?
* r600g: fix additional EVENT_WRITE packetAlex Deucher2010-11-221-1/+1
| | | | Add explicit EVENT_TYPE field
* r600g: add fetch shader capabilitiesJerome Glisse2010-11-192-0/+33
| | | | | | | | Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: All EVENT_WRITE packets need the EVENT_INDEX fieldAlex Deucher2010-11-192-13/+13
| | | | 6xx-evergreen
* r600g: fix occlusion query on evergreen (avoid lockup)Jerome Glisse2010-11-192-2/+11
| | | | | | | Occlusion query on evergreen need the event index field to be set otherwise we endup locking up the GPU. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix buffer alignmentAlex Deucher2010-11-171-0/+6
| | | | This should fix the remaining buffer alignment issues in r600g.
* r600g: Cleanup the fenced_bo list in r600_context_fini().Henri Verbeet2010-11-151-0/+13
|
* r600g: allow driver to work without submitting cmd to GPUJerome Glisse2010-11-101-0/+2
| | | | | | | | For driver performance analysis it usefull to be able to disable as much as possible the GPU interaction so that one can profile the userspace only. Signed-off-by: Jerome Glisse <[email protected]>
* ws/r600: match bo_busy shared/fence logic in bo_waitKeith Whitwell2010-11-101-8/+9
| | | | Fixes crash in piglit depthrange-clear.
* r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)Benjamin Franzke2010-11-083-1/+46
|
* r600g: set hardware pixel centers according to gl_rasterization_rulesKeith Whitwell2010-11-032-0/+2
| | | | | | | These were previously being left in the default (D3D) mode. This mean that triangles were drawn slightly incorrectly, but also because this state is relied on by the u_blitter code, all blits were half a pixel off.
* r600g: propogate resource usage flags to winsys, use to choose bo domainsKeith Whitwell2010-11-033-7/+31
| | | | | | | | | This opens the question of what interface the winsys layer should really have for talking about these concepts. For now I'm using the existing gallium resource usage concept, but there is no reason not use terms closer to what the hardware understands - eg. the domains themselves.
* r600g: Fixed two memory leaks in winsys.Tilman Sauerbeck2010-11-021-0/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>