diff options
| author | Michel Dänzer <[email protected]> | 2015-04-16 11:17:27 +0900 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-04-27 09:54:50 -0400 |
| commit | b421ed15d2c3039eb724680e4de1e4b2bd196a9a (patch) | |
| tree | 68721913ae096198b2fc65ffbcdcb501f900caa4 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| 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: [email protected]
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions