[Mesa-dev] [PATCH 8/8] radeonsi: dump buffer lists while debugging

Michel Dänzer michel at daenzer.net
Sun Sep 27 18:38:08 PDT 2015


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


More information about the mesa-dev mailing list