diff options
| author | Mukul Joshi <mukul.joshi@amd.com> | 2026-01-28 14:31:18 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-02 15:31:35 -0400 |
| commit | b67d2d039f645f266af8ec87e9af112ed6ef9140 (patch) | |
| tree | 2c46471f5f730982d9d647a9c539aadbfb26fc76 /scripts/Makefile.thinlto | |
| parent | 39cfb3fe5391faa5de0dc3e5020d62df76dcc894 (diff) | |
| download | linux-next-b67d2d039f645f266af8ec87e9af112ed6ef9140.tar.gz linux-next-b67d2d039f645f266af8ec87e9af112ed6ef9140.zip | |
drm/gem: Add callback for when handle count goes to 0
Add an optional callback for driver-specific cleanup when the GEM
handle of an object is freed. This will be used by AMDGPU to enable
freeing of memory exported to other nodes in a UALink pod once all
user mode references are gone.
The callback is called outside the object_name_lock and before
releasing the reference count on the GEM object
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
