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

drm/amdgpu: restructure amdgpu_vram_mgr_new



Merge the two loops, loosen the restriction for big allocations.
This reduces the CPU overhead in the good case, but increases
it a bit under memory pressure.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Acked-and-Tested-by: default avatarNirmoy Das <nirmoy.das@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c0f76fc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment