summaryrefslogtreecommitdiffstats
path: root/bin/perf-annotate-jit.py
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-04-12 17:05:56 +0200
committerNicolai Hähnle <[email protected]>2017-04-14 23:23:04 +0200
commit39f51b5db9404b166fa7c1845a348f427c03a8f1 (patch)
treeb12c621046834c1026313cdc487ad14fe6ec1f55 /bin/perf-annotate-jit.py
parentc1dd5d0b01e7d4a74b408ad834f84d1914779a44 (diff)
radeonsi: add missing initialization for userptr buffers
Fix the accounting for memory usage of userptr buffers, which has been wrong forever (or at least for a long time). Also initialize flags. Without this initialization, the sparse buffer flag might end up being set, which leads to staging buffers being used unnecessarily (and incorrectly) in transfers to or from userptr buffers. This works around VM faults that occur with the radeon kernel module when running piglit ./bin/amd_pinned_memory decrement-offset map-buffer -auto Fixes: e077c5fe6579 ("gallium/radeon: transfers and invalidation for sparse buffers") Reported-by: Michel Dänzer <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'bin/perf-annotate-jit.py')
0 files changed, 0 insertions, 0 deletions