commit | 920990cb080a44203bf6c8eb706e79ad23241ad3 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Mon Jul 30 16:16:01 2018 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jul 31 16:58:19 2018 -0500 |
tree | c561ae3c784ad5930fd2db05389b2516b89693e4 | |
parent | 39f7f69a6054bb9777b47b6afdb5ce2fae30dbee [diff] |
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>