Skip to content
Commit 920990cb authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: allocate the bo_list array after the list



This avoids multiple allocations for the head and the array.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarChunming Zhou <david1.zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 39f7f69a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment