Am 11.09.2018 um 09:37 schrieb Michel Dänzer: > 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. How about adding a AMDGPU_GEM_CREATE_VRAM_SECRED flag which triggers clearing VRAM when the BO is freed? > Anyway, not clearing when userspace sets AMDGPU_GEM_CREATE_VRAM_CLEARED > would break the userspace ABI, so that's no go. Yeah, exactly my point. What Felix seems to try is to avoid clearing VRAM when the allocated memory came from the same process. But that isn't the intention of the AMDGPU_GEM_CREATE_VRAM_CLEARED flag. Regards, Christian.