aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_chipset.h
Commit message (Collapse)AuthorAgeFilesLines
* r300g: implement hyper-z support. (v4)Dave Airlie2010-08-051-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This implements fast Z clear, Z compression, and HiZ support for r300->r500 GPUs. It also allows cbzb clears when fast Z clears are being used for the ZB. It requires a kernel with hyper-z support. Thanks to Marek Olšák <[email protected]>, who started this off, and Alex Deucher at AMD for providing lots of hints. v2: squashed zmask ram size fix] squashed r300g/blitter: fix Z readback when compressed] v3: rebase around texture changes in master - .1 fix more bits v4: migrated to using u_mm in r300_texture to manage hiz/zmask rams consistently disabled HiZ when using OQ flush z-cache before turning hyper-z off update hyper-z state on dsa state change store depthclearvalue across cbzb clears and replace it afterwards. Signed-off-by: Dave Airlie <[email protected]>
* r300g: add "has HiZ" flag, add ZMask regsMarek Olšák2010-06-241-0/+2
|
* r300g: add is_rv350 flagMarek Olšák2010-04-201-5/+15
|
* r300g: raise the number of texture units to 16 for all supported chipsetsMarek Olšák2010-04-051-0/+2
| | | | | | | | As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are 16 texture units even on the first r300 chipsets. If you think I am wrong, feel free to propose a patch. [1] Here's PDF: http://people.freedesktop.org/~mareko/
* r300g: add is_r400 flagMarek Olšák2010-01-121-1/+8
| | | | r4xx has some additional fragment shader registers compared to r3xx.
* r300g: Cleanup header includes.Corbin Simpson2009-10-211-3/+3
|
* r300g: fixup arb occulsion query support.Dave Airlie2009-10-141-0/+2
| | | | | | | | | | | | | | | 1: add rv530 support - num z pipes cap - add proper start/finish query options for rv530 2: convert to use linked list properly. 3: add flushing required check. 4: initial Z top disabling support. TODO: make it actually work on my rv530.
* r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson2009-08-181-0/+2
| | | | | This name is totally subject to change if ever I need to separate R3xx for some other reason.
* Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson2009-08-181-0/+2
| | | | | | | | | | This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
* r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.Corbin Simpson2009-05-171-2/+0
| | | | | See the previous commit for an explanation. This is just all the support code for GB_TILE_CONFIG.
* r300-gallium: Add RS600 chipsets.Corbin Simpson2009-02-271-0/+1
|
* r300: Deobfuscate a few registers, fix inaccurate variable names.Corbin Simpson2009-02-011-4/+5
| | | | It's not "pipes", it's floating-point vertex processors. Completely different.
* r300: Add some useful debugging information; remove a couple compile warnings.Corbin Simpson2009-02-011-27/+0
| | | | Deck chairs on the Titanic.
* amd/r300: Wire up GETPARAM ioctls.Corbin Simpson2009-02-011-1/+1
| | | | Whoo, stuff is starting to look cleaner and cleaner.
* r300: Add num_vert_pipes (and remove busted num_pipes.)Corbin Simpson2009-02-011-3/+5
|
* r300: Use chip caps for something.Corbin Simpson2009-02-011-3/+6
| | | | | | Step two: Integration. Yay? Time to stop messing around with this and actually go do things.
* r300: Add chipset sorting and capabilities.Corbin Simpson2009-02-011-0/+100
Part one: Capabilities from classic Mesa. Damn, if only we didn't have so many fucking Radeons!