diff options
author | Marek Olšák <[email protected]> | 2015-07-25 00:53:16 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-31 16:49:16 +0200 |
commit | b0528118dfb1af00e7d08cdb637191b80c14c2ba (patch) | |
tree | 0a4332f7a0c4b9430fdf0b84e6a8c394285a14f5 /src/glx/pixel.c | |
parent | 781dc7c0e1f41502f18e07c0940af949a78d2792 (diff) |
radeonsi: completely rework updating descriptors without CP DMA
The patch has a better explanation. Just a summary here:
- The CPU always uploads a whole descriptor array to previously-unused memory.
- CP DMA isn't used.
- No caches need to be flushed.
- All descriptors are always up-to-date in memory even after a hang, because
CP DMA doesn't serve as a middle man to update them.
This should bring:
- better hang recovery (descriptors are always up-to-date)
- better GPU performance (no KCACHE and TC flushes)
- worse CPU performance for partial updates (only whole arrays are uploaded)
- less used IB space (no CP_DMA and WRITE_DATA packets)
- simpler code
- hopefully, some of the corruption issues with SI cards will go away.
If not, we'll know the issue is not here.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/glx/pixel.c')
0 files changed, 0 insertions, 0 deletions