aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-04-26 10:06:13 +0200
committerAlex Deucher <alexander.deucher@amd.com>2021-04-28 23:36:05 -0400
commitdd03daec0ff170c0622c9545137e8ad9846b967d (patch)
treede45e4820a9cf39b222194ba1cc77ce4fdabbbc4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentc0f76fc8ad5f3511bdee37efc130555b39d3f711 (diff)
downloadlinux-dd03daec0ff170c0622c9545137e8ad9846b967d.tar.gz
linux-dd03daec0ff170c0622c9545137e8ad9846b967d.tar.bz2
linux-dd03daec0ff170c0622c9545137e8ad9846b967d.zip
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: Christian König <christian.koenig@amd.com> Acked-and-Tested-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions