]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use a single linked list for amdgpu_vm_bo_base
authorChristian König <christian.koenig@amd.com>
Mon, 10 Sep 2018 18:02:46 +0000 (20:02 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Sep 2018 20:14:12 +0000 (15:14 -0500)
commit5978d3de4e289cc70bc3fdc4e5eaf50950a9f7f4
tree8c2de4481394f7e1c602e9d57ff35121adaec578
parent55aad4950bf68bcd92091a8a7c5ef289966a021a
drm/amdgpu: use a single linked list for amdgpu_vm_bo_base

Instead of the double linked list. Gets the size of amdgpu_vm_pt down to
64 bytes again.

We could even reduce it down to 32 bytes, but that would require some
rather extreme hacks.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h