summaryrefslogtreecommitdiffstats
path: root/src/util/rand_xor.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2017-05-18 15:39:58 +0200
committerLucas Stach <[email protected]>2017-06-01 15:20:38 +0200
commitcab5996c2637c31a78a0196e42ec6de9eb61f270 (patch)
treeac06031a4c928f9c759eb992832dfcb4fab44ff1 /src/util/rand_xor.c
parent72011f7a7bb3e9e45a067506555930792bf27889 (diff)
etnaviv: always do cpu_fini in transfer_unmap
The cpu_fini() call pushes the buffer back into the GPU domain, which needs to be done for all buffers, not just the ones with CPU written content. The etnaviv kernel driver currently doesn't validate this, but may start to do so at a later point in time. If there is a temporary resource the fini needs to happen before the RS uses this one as the source for the upload. Also remove an invalid comment about flushing CPU caches, cpu_fini takes care of everything involved in this. Fixes: c9e8b49b885 ("etnaviv: gallium driver for Vivante GPUs") Cc: [email protected] Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Reviewed-By: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/util/rand_xor.c')
0 files changed, 0 insertions, 0 deletions