diff options
| author | 2021-04-26 10:06:13 +0200 | |
|---|---|---|
| committer | 2021-04-28 23:36:05 -0400 | |
| commit | dd03daec0ff170c0622c9545137e8ad9846b967d (patch) | |
| tree | de45e4820a9cf39b222194ba1cc77ce4fdabbbc4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | |
| parent | drm/amdkfd: fix double free device pgmap resource (diff) | |
| download | linux-dev-dd03daec0ff170c0622c9545137e8ad9846b967d.tar.xz linux-dev-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_ih.c')
0 files changed, 0 insertions, 0 deletions
