]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: add amdgpu_ttm_buffer_entity_fini func
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 9 Jan 2026 15:19:10 +0000 (16:19 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:29 +0000 (14:16 -0500)
commit2e88530255e76e11266bcdbb1eaf533e75f95d37
tree1130cdbc9261f29d28cc9a0115fdb9c8ab45919a
parent2c3725572561e962aa8eeeba2f51394d4c6b7c27
drm/amdgpu: add amdgpu_ttm_buffer_entity_fini func

This allows to have init/fini functions to hold all the init and
teardown code for amdgpu_ttm_buffer_entity.
For now only drm_sched_entity init/destroy function calls are moved
here, but as entities gain new members it will make code simpler.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c