On Mon, Sep 28, 2015 at 3:38 AM, Michel Dänzer <mic...@daenzer.net> wrote: > On 28.09.2015 07:53, Marek Olšák wrote: >> + /* Note: Buffer sizes are expected to be aligned to 4k by the >> winsys. */ >> + const unsigned page_size = 4096; > > This stems from TTM; it requires BOs to be aligned to the CPU page size, > which can be larger than 4096 bytes. We should try to reduce the places > where we hardcode 4096 bytes, not add to them. :)
I understand, but in this case it's just a convenient choice of units for the report, not a CPU page size. If the CPU used bigger pages, I'd still like 4096 to be hardcoded here for consistency with report files from other CPUs. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev