diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-30 16:16:01 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-31 16:58:19 -0500 |
commit | 920990cb080a44203bf6c8eb706e79ad23241ad3 (patch) | |
tree | c561ae3c784ad5930fd2db05389b2516b89693e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 39f7f69a6054bb9777b47b6afdb5ce2fae30dbee (diff) | |
download | linux-920990cb080a44203bf6c8eb706e79ad23241ad3.tar.bz2 |
drm/amdgpu: allocate the bo_list array after the list
This avoids multiple allocations for the head and the array.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions