[PATCH] drm/radeon: Use drm_calloc_ab for CS relocs

Michel Dänzer michel at daenzer.net
Wed Apr 15 19:30:01 PDT 2015


On 16.04.2015 11:17, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> The number of relocs is passed in by userspace and can be large. It has
> been observed to cause kmalloc failures in the wild.

That should of course say 'kcalloc failures'.


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


More information about the dri-devel mailing list