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. :) -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev