History log of /external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47b390fe45e5e6f982c60b58985892438959cd8e 17-May-2016 Jan Vesely <jano.vesely@gmail.com> Treewide: Remove Elements() macro

Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
dcfbc006b6b07d41338b87c64cdc01c36608087b 16-Apr-2015 Marek Olšák <marek.olsak@amd.com> winsys/radeon: move radeon_winsys.h to drivers/radeon
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
a131263a2f19507ca0d2f6093672d930a7c054d1 16-Aug-2014 Emil Velikov <emil.l.velikov@gmail.com> gallium/radeon: cleanup header inclusion

- Add top_srcdir/src/gallium/winsys to GALLIUM_DRIVER_C{XXFLAGS}.
- Remove top_srcdir/src/gallium/drivers/radeon from the includes.

As a result:
- Common radeon headers are prefixed with 'radeon/'
- Winsys header inclusion is prefixed 'radeon/drm'

Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
adb93e3bda13ed539f383787c09f948d0f27fbcb 11-Aug-2013 Marek Olšák <marek.olsak@amd.com> r300g: enable MSAA on r300-r400, be careful about using color compression

MSAA was tested by one user on RS690 and it works for him with color
compression (CMASK) disabled. Our theory is that his chipset lacks CMASK RAM.

Since we don't have hardware documentation about which chipsets actually have
CMASK RAM, I had to take a guess based on the presence of HiZ.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
0b405f364f57245f673f678d73d7180400593489 18-Jul-2013 Jonathan Gray <jsg@jsg.id.au> r300g: make use of gallium's os_get_process_name()

Lets the code compile on non Linux systems.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
ca474f98f2cda5cb333e9f851c7e0e31c9a6f823 04-Jan-2013 Jerome Glisse <jglisse@redhat.com> radeon/winsys: move radeon family/class identification to winsys

Upcoming async dma support rely on winsys knowing about GPU families.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
838b19609f759bc76e140910e6dcf0e0c3680688 02-Dec-2012 Marek Olšák <maraeo@gmail.com> r300g: add blacklist for apps that shouldn't steal hyperz access
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
28a336dc38c478b809544e7404c4d1fddd873333 22-Jul-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: simplify how value queries work

This drops the get_value query and adds a function query_info, which returns
all the values in one nice structure.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
d7111353bd52fa54ae6c0defd6d1c4a86fbfb3b3 07-Jun-2011 Marek Olšák <maraeo@gmail.com> r300g: consolidate deducing chipset info

Use the new PCI ID table, make it simpler.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
ff3d7ce201e6b415eb1254d784f0f425592d556b 08-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: emit US_FORMAT on R520 only
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
10ea8567f49f4daaa654b6e4c365a816f855073b 08-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: fix texturing with sizes > 2048 on r500
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
d1dbbf7bf41959df489195d11eb50f8222d293d3 28-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: disable hyper-z on rs6xx+

It doesn't work.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
4ad3b27ceee94cff9a0a78e6b778756d3714bdbf 02-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: RS400 doesn't have ZMASK
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
2050f2ab96f923112d3475a655b31c8f5145a800 28-Jan-2011 Marek Olšák <maraeo@gmail.com> r300g: fix and re-enable 8x8 zbuffer compression mode

Also cleanup the whole thing.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
db299a9f8244d53d9041fcdbd396a77ebe1f9e3e 25-Jan-2011 Marek Olšák <maraeo@gmail.com> r300g: fix some bugs with zbuffer compression (v4)

This drops the memblock manager for ZMASK. Instead, only one zbuffer can be
compressed at a time. Note that this does not necessarily have to be slower.
When there is a large number of zbuffers, compression might be used more often
than it was before. It's also easier to debug.

How it works:
1) 'clear' turns the compression on.
2) If some other zbuffer is set or the currently-bound zbuffer is used
for texturing, the driver decompresses it and then turns the compression off.

Notes:
- The ZMASK clear has been refactored, so that only one packet3 is used to clear
ZMASK.
- The 8x8 compression mode is disabled. I couldn't make it work without issues.
- Also removed driver-specific stuff from u_blitter.

Driver status:
- RV530 and R580 appear to just work (finally).
- RV570 should work, but there may be an issue that we don't correctly
calculate the number of dwords to clear, resulting in a partially
uninitialized zbuffer.
- RS690 misrenders as if no ZMASK clear happened. No idea what's going on.
- RV350 may even hardlock. This issue was already present and this patch doesn't
fix it.

I think we are still missing some hardware info we need to make the zbuffer
compression work fully.

Note that there is also an issue with HiZ, resulting in a sort of blocky
zigzagged corruption around some objects.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
ac38ad6156bd31cae0466cb7f89bccb101342186 24-Dec-2010 Dave Airlie <airlied@redhat.com> r300g: turn back on rv530 hiz.

still needs RADEON_HYPERZ=y env var.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
6478a4de14d368bf85ba3477d73fd1bd91067e86 30-Nov-2010 Marek Olšák <maraeo@gmail.com> r300g: fix texture swizzling with compressed textures on r400-r500

This fixes all S3TC piglit/texwrap tests.

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
41f9e60bb30765e9d272bb6d61bb8fddc3623f8b 05-Aug-2010 Dave Airlie <airlied@redhat.com> r300g: disable hiz on rv530 for now.

On my rv530 at least HiZ is causing rendering issues in gears.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
6eb2a7fbafd49e75b6cbbee57f23dda63eff73ef 07-Jul-2010 Dave Airlie <airlied@redhat.com> r300g: implement hyper-z support. (v4)

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 <maraeo@gmail.com>, 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 <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
5d1cc930779936a475495284a496f5457f67a939 24-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: a couple more chipsets do not have HiZ RAM
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
6b15a8d2afa1cdf8577d48b1f1644358f1e47b47 24-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: add "has HiZ" flag, add ZMask regs
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
48a18061260b4300ce67ab39ec3d303763db2345 22-Apr-2010 Alex Deucher <alexdeucher@gmail.com> r300g: fix vertex unit setup

RV3xx is 2, RV560,RV570 is 8

Noticed by Tormod Volden.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
f189caeed046e05bfeec8adf2ebeaae01d1bf2f6 20-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: add is_rv350 flag
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
f7c2d4fee3104008c21078879cbc5720d7bc1be6 19-Apr-2010 Dave Airlie <airlied@redhat.com> r300c/r300g: add 3155 rv380 pci id
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
d2686cdb2354b7cfe0e4eac3c5afab40cb947e0f 05-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: raise the number of texture units to 16 for all supported chipsets

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/
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
4b8d3480764daf45cbbc03d76cd8b7c81937f532 27-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: print errors even on non-debug builds

We really need to get these into bug reports.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
c1db20280c5c36721801c893dd0615551d68394a 13-Jan-2010 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Fix is_r400 status for rs4xx and rc4xx.

As suggested by agd5f.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
e279d182323f27aea2c5bf6074c5f2724f7cd812 08-Jan-2010 Marek Olšák <maraeo@gmail.com> r300g: add is_r400 flag

r4xx has some additional fragment shader registers compared to r3xx.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
6a448a525baf81173f92ee8c3074b98baa54397b 21-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Cleanup header includes.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
babadb8bb9d68f3687a9c9cb80f98c732b1120c7 21-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Don't use getenv; use debug_get_*_option instead.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
4092f318db440532f78a39c0444b987039c8f7f7 19-Aug-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Add high_second_pipe cap for R3xx chipsets.

This name is totally subject to change if ever I need to separate R3xx
for some other reason.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
c63bd15f81cecfb421ff798a3e2d0f82b90331db 18-Aug-2009 Corbin Simpson <MostAwesomeDude@gmail.com> Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."

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
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
b22b6f074381f3a0cfb9b6c3f45eaa533c1a0426 20-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Add missing R481 PCI ID.

Per 74cb2aba on xf86-video-ati.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59 18-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.

See the previous commit for an explanation. This is just all the support code
for GB_TILE_CONFIG.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
d3912e301fd707738b0952cd11e19f34b87765b8 14-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Clean up outdated comments.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
27d886ae33d287d91c92cc353f7b98f916b4d080 01-Apr-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Backwards test.

Wow, how long's that been there? Embarrassing.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
8b8e954f9e67357b87dac487c838a01fa991d0f1 28-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Add RADEON_NO_TCL debugging option.

Just like R300_NO_TCL, when set, forces HW TCL off.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
4ef8c047ea4cdbf9bc31920d58205620b857fe3c 27-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Add RS600 chipsets.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
ea4bf267e4b023b08043f91ac44592fed1736e7f 18-Feb-2009 José Fonseca <jfonseca@vmware.com> util: Move p_debug.h into util module.

The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
f2a36d334c6fbe3787d44c6203f54ccb184fb923 13-Feb-2009 Joakim Sindholt <opensource@zhasha.com> r300: minor fixes and clear up some surface_fill

Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
e1b04da9b35aad1f474f7396f206a7c124c6859b 03-Feb-2009 Joakim Sindholt <bacn@zhasha.com> r300: fix compiler/linker errors
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
fa3c59136e9dd788ee7d3689b6cb89dd27040a9e 03-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Take care of some XXXes.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
3e3122467f1e9f6dde77762d1a35a56f89fb25ce 26-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Deobfuscate a few registers, fix inaccurate variable names.

It's not "pipes", it's floating-point vertex processors. Completely different.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
1a503019d73701ed311b15107f314bc84968bdb7 24-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Moar state handlers.

Ah, my code's so bad. It's amazing.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
ecb7f29f74c8f7456302267fe31b1de4bcc103c5 22-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> amd/r300: Wire up GETPARAM ioctls.

Whoo, stuff is starting to look cleaner and cleaner.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
0ff7cb7c89f0c9ac4e363296e53eada008717252 22-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Add num_vert_pipes (and remove busted num_pipes.)
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
43f20357c8db2c90ae1f8360dbc2c71762a0478e 20-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Use chip caps for something.

Step two: Integration. Yay?

Time to stop messing around with this and actually go do things.
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c
538a8149af3fc773a3d1e15d113cb4e3fadc57cd 20-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Add chipset sorting and capabilities.

Part one: Capabilities from classic Mesa.

Damn, if only we didn't have so many fucking Radeons!
/external/mesa3d/src/gallium/drivers/r300/r300_chipset.c