[PATCH 01/11] drm/amdgpu: try allocating VRAM as power of two

Michel Dänzer michel at daenzer.net
Tue Sep 11 07:37:50 UTC 2018


On 2018-09-11 8:49 a.m., Christian König wrote:
> 
> But another question: Why do you want to clear VRAM on allocation? We
> perfectly support allocating VRAM without clearing it.

Which is a problem of its own, as it can leak information from one
process to another.

Anyway, not clearing when userspace sets AMDGPU_GEM_CREATE_VRAM_CLEARED
would break the userspace ABI, so that's no go.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list