493faa010d338f68540238c20a74b3b101ca7ff5 |
|
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present. This was a leftover from the conversion of this file for state streaming.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
9998df36c271810ecf20041bf6bed28f3952a94f |
|
26-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add dumping for gen6 WM constants too. This looks just like the VS dump for now.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
f07cfebebe0b902431fb33104b70a531d57a0570 |
|
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Add a stub dumper for CC unit state, which is different from gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
f7f03fb588414928ef75cb856aa683737dad6213 |
|
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Add state dumping for unit state using state_batch_list[]. This is just barely more pretty-printing than we previously had, but at least it doesn't leave out unit states in the log. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
a1226bcd20a582146f1848cc0af8145c53b0ecbc |
|
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add state dumping for the VS constants. This is quite a bit of spam, but I think it's useful to have in a full INTEL_DEBUG=batch dump. And a lot of this spam on glxgears is just because we're awful at handling our constants :/ Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
6e17a01e427bb621f606b4237fae58c446de9a70 |
|
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add state dumping for the scissor packet. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
93c7a5da1121a4aebff2fc889af229cbfb7006f5 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: When dumping programs, dump the whole cache. But don't by default. The previous brw_state_dump output was rather useless -- last used program per batch, and just the hex. Now we dump all programs (since we don't know which were used), and disassemble them. But that's a ton of spam, and usually when looking into program contents we use INTEL_DEBUG={vs,wm,misc,other} and when looking into state updates we use INTEL_DEBUG=batch, so this dump usually just massively clutters up the output. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
6bbaa7c0e58cd477deb970cd52d281bb9f87486c |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump the binding table using state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
13e82ece6d4761f07fb01e5a9aa57448d3bd2345 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump the surface, sampler, and sdc state using state_batch_list[]. Now, for example, INTEL_DEBUG=batch tex-border-1 shows all the texturing state involved. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
709a7af2afd72283f3532e5574fbfdef91f70e28 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump brw_state_batch data in an easier format for cross-referencing. Now that we're using state base addresses for most things, we're less interested in the absolute address of the state, and more in its offset from the state base address (start of batchbuffer). Also, reorder the printout so it looks more like the batchbuffer dump. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
d4846674232112bc3c7ad583e0daec0dfa2a3d26 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Map the batch once for dumping all our state batch structs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
00f07b33eca37c48e9c487426e80cb85bceffff2 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the new gen6 state structs to using state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
fbfeff73f3d6195e62ee413c18a93632edc3510d |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the SF VP state dump to using the state_batch_list[] Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
2a8d744345da718ed98b7ee216c4091018830900 |
|
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move CLIP VP state dump to using the state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
c173541d9769d41a85cc899bc49699a3587df4bf |
|
27-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use state streaming on programs, and state base address on gen5+. There will be a little bit of thrashing of the program cache BO as the cache warms up, but once the application is in steady state, this reduces relocations on gen5 and later. On my T420 laptop, cairogl firefox-talos-gfx performance improves 2.6% +/- 1.3% (n=6). No statistically significant performance difference on nexuiz (n=5).
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
c2e659037f4d0687e948e3d17f2d950d3e2dae1b |
|
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SURFACE_STATE dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
4ba9cfe4b8b9690ec3d9e62dd2a15616428339ac |
|
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SAMPLER_STATE dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
f9a3200adb1bc70f789c829661a92e3d24023dcf |
|
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SF_CLIP_VIEWPORT state dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
ee643b23ff546492c67d4e2b525ced7329a3c020 |
|
24-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Switch brw_state_dump to using bitshifting for surface state. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
acb4d5cd96d91320b8e5edb727ff3a268f04587f |
|
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move the GS state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
bb7ff01deb5c1eb813b90da6f40d987a67e2793b |
|
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix up state dumping for SF state. It was moved to state streaming a while back and this was left over. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
588cebce2d5b6afd24b72603d744d390481310dd |
|
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move VS state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
5c742ea1ee0cea031cb99651155d0c7521f42b4e |
|
23-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move sampler state to state streaming. Overall, across this series since the last set of numbers, gen6 3DMMES taiji performance has dropped 0.8% +/- 0.3% (n=15), probably due to the increased reissuing of state from some of the state objects that otherwise never changed, and increased occurrence of the per-batch overhead as we've increased how much we put in the batch BO without increasing the batch BO's size. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
1a447749ed421db8eb6ba20012630785aef9bb12 |
|
23-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move WM state to state streaming. The samplers are about to become streamed for gen6 performance, which would cause this unit to blow out the state cache. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
c108a3f863c44b5e9760d4668148ef8ca7557b2f |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the depth/stencil state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the blend state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
2ee1fd2e8f023853b60c242ce7f83a595c0f65ff |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the color calc state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
d67c08319fda7d0f2df98d60b64c8cc2f3e06c44 |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the CC VP to state streaming. This is in a way a revert of f5bb775fd1f333d8e579d07a5cac1ded2bd54a2f. The tiny win that had will be overwhelmed by the win of using the gen6 dynamic state base address. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
8d2047ca7e8a533e1853a2ba51cd1bd6e52ae4a3 |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the SF VP to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
3628e123f13a480abfad8e8af9f875e3d8eeb5a6 |
|
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the clip VP to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
e1e6545c8866e41b179da70429d90aadd71360c4 |
|
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix batch decode for the gen5+ sampler default color.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
88022278f71ed3ea9613a7fa72a03367f75443d3 |
|
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the SF VP from state caching to state streaming. This is a 49.6% +/- 2.0% (n=9, IPS outlier removed) performance improvement for the hacked-up-for-cache-misses scissor-many, and no statistically significant performance difference for the hacked-up-for-cache-hits version (n=9, IPS outlier removed). No statistically significant performance difference from ETQW (n=5) from these last two commits.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
8d68a90e225d831a395ba788e425cb717eec1f9a |
|
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: use pwrite for batch It's faster. Not only is the memcpy more efficiently performed in the kernel (making up for the system call overhead), but by not using mmap we remove the greater overhead of tracking the vma of every batch. And it means we can read back from the batch buffer without incurring the cost of a uncached read through the GTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
3f55683927278e57f3ef8a151d15f4cffdc060dc |
|
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: drop state_bo references to batch_bo As we use state relocations and we know that all the state belongs to the same bo, we can drop the multiple references to the same bo. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
3c8db58a17581504018bedf56bacef66fe30a7ba |
|
16-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add dumping of the sampler default color.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
95addca0190032d49bd576ea1c486e34c1e3c76f |
|
16-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add state dumping for sampler state.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
b016a78b983295c112421c01d378fbe2862412d4 |
|
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: new state dump for sandybridge Dump new state object on sandybridge for cc viewport, clip viewport, depth stencil, cc and blend state.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
7dcba1af9d0139ead8a0288ad272ea1116aaf3b3 |
|
13-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix surface state dumping with INTEL_DEBUG=batch. I broke this with the state streaming changes.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e |
|
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Change dri_bo_* to drm_intel_bo* to consistently use new API. The slightly less mechanical change of converting the emit_reloc calls will follow.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
6e0f702b23ebdc9fbf6b20697624bc77be08383e |
|
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
3addc4e3078b99db07598ac0b2473f7612b83a09 |
|
18-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add decode for the G4X x,y offset in surface state.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
43257c14700fd5a62d6180ac6e493bf515d281a0 |
|
15-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up output of WM SS state dump, and add format output.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
cade74e3f4ddf7a5221c9f200ff4c130ab92924d |
|
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Stop dumping programs after the first all-zeroes entry.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
ecadb51bbcb972a79f3ed79e65a7986b9396e757 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
3f0301d7bc90b05914e201e366d7f3189d9248e3 |
|
27-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix serious copy'n'paste failure in brw state dumping.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
451bd1941e9791882f7931c8613643f152871e79 |
|
26-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
8336f3ffb7e4033337a1d0eafef43cbf3329f499 |
|
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] fix bad conflict resolution in debug code.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
b3169a9c35ae2d943d1e84dfa6cc99e94f782ca7 |
|
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Output the buffer type in INTEL_DEBUG=bat surface state decode.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
38bad7677e57d629eeffd4ef39a7fc254db12735 |
|
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Replace the state cache suballocator with direct dri_bufmgr use. The user-space suballocator that was used avoided relocation computations by using the general and surface state base registers and allocating those types of buffers out of pools built on top of single buffer objects. It also avoided calls into the buffer manager for these small state allocations, since only one buffer object was being used. However, the buffer allocation cost appears to be low, and with relocation caching, computing relocations for buffers is essentially free. Additionally, implementing the suballocator required a don't-fence-subdata flag to disable waiting on buffer maps so that writing new data didn't block on rendering using old data, and careful handling when mapping to update old data (which we need to do for unavoidable relocations with FBOs). More importantly, when the suballocator filled, it had no replacement algorithm and just threw out all of the contents and forced them to be recomputed, which is a significant cost. This is the first step, which just changes the buffer type, but doesn't yet improve the hash table to not result in full recompute on overflow. Because the buffers are all allocated out of the general buffer allocator, we can no longer use the general/surface state bases to avoid relocations, and they are set to 0 instead.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|
e3a6e60040b7f6ea7965e52f8f9881ed31e0347c |
|
08-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Convert the driver to dri_bufmgr interface and enable TTM. This is currently believed to work but be a significant performance loss. Performance recovery should be soon to follow. The dri_bo_fake_disable_backing_store() call was added to allow backing store disable like bufmgr_fake.c did, which is a significant performance win (though it's missing the no-fence-subdata part). This commit is a squash merge of the 965-ttm branch, which had some history I wanted to avoid pulling due to noisiness and brokenness at many points for git-bisecting.
/external/mesa3d/src/mesa/drivers/dri/i965/brw_state_dump.c
|