aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJammy Zhou2015-05-18 07:57:41 -0500
committerAlex Deucher2015-08-05 12:47:49 -0500
commit3f1ca0f9399778d7f6599023e1a236ddef1d3458 (patch)
treec3c520327d54cad59332e7bea12fc9d281abd290 /amdgpu/amdgpu_device.c
parent8cf8ac1539183c35883b7e924a211d85ed046217 (diff)
downloadexternal-libdrm-3f1ca0f9399778d7f6599023e1a236ddef1d3458.tar.gz
external-libdrm-3f1ca0f9399778d7f6599023e1a236ddef1d3458.tar.xz
external-libdrm-3f1ca0f9399778d7f6599023e1a236ddef1d3458.zip
amdgpu: replace alloca with calloc v2
use heap memory instead of stack memory to avoid potential stack overflow when a large number of resources are used for the bo_list. v2: some minor improvement Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions