Re: [Mesa-dev] [PATCH] radeonsi: add missing initialization for userptr buffers

2017-04-13 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Apr 13, 2017 at 5:42 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > 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 spa

[Mesa-dev] [PATCH] radeonsi: add missing initialization for userptr buffers

2017-04-13 Thread Nicolai Hähnle
From: Nicolai Hähnle 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