summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-17 02:49:40 +0200
committerMarek Olšák <[email protected]>2017-05-18 22:15:02 +0200
commit807e1d257707a37850a150d12a1d6878c3b13d5d (patch)
tree6af5c91843444c04a7f48af6332cc1bc67e7a2bf /src/mesa/drivers
parent1cde473ec08e9aa60f474d460df1b4c3ba6d3c70 (diff)
radeonsi/gfx9: use CE RAM optimally
On GFX9 with only 4K CE RAM, define the range of slots that will be allocated in CE RAM. All other slots will be uploaded directly. This will switch dynamically according to which slots are used by current shaders. GFX9 CE usage should now be similar to VI instead of being often disabled. Tested on VI by taking the GFX9 CE allocation codepath and setting num_ce_slots = 2 everywhere to get frequent switches between both modes. CE is still disabled on GFX9. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions