commit | b421ed15d2c3039eb724680e4de1e4b2bd196a9a | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Thu Apr 16 11:17:27 2015 +0900 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Apr 27 09:54:50 2015 -0400 |
tree | 68721913ae096198b2fc65ffbcdcb501f900caa4 | |
parent | 59fd7e4b0b0769638b5162e56c28bbb027a118d3 [diff] |
drm/radeon: Use drm_calloc_ab for CS relocs The number of relocs is passed in by userspace and can be large. It has been observed to cause kcalloc failures in the wild. Cc: stable@vger.kernel.org Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>