drm/amdgpu: remove acc_size from reserve/unreserve mem
authorAlex Sierra <alex.sierra@amd.com>
Tue, 17 May 2022 17:19:06 +0000 (12:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jul 2022 20:03:49 +0000 (16:03 -0400)
commit86bd6706c404ea703c11071d8b600d46bb98873c
treeb94f90c646f22cadea603c87b4f73cc59d9fa0ba
parent5df79aeb6e0890d6f5fd6e12c7ad238a1617b210
drm/amdgpu: remove acc_size from reserve/unreserve mem

TTM used to track the "acc_size" of all BOs internally. We needed to
keep track of it in our memory reservation to avoid TTM running out
of memory in its own accounting. However, that "acc_size" accounting
has since been removed from TTM. Therefore we don't really need to
track it any more.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c