amdgpu_sync_clone(9)
π NAME π
okay so bestie, this is amdgpu_sync_clone(9) from the Kernel API Manual, and it's literally here to clone a sync object. π no cap, that's the whole name vibe, fr fr.
β¨ SYNOPSIS β¨
it's giving "returns an int," and the signature is exactly this:
int amdgpu_sync_clone (struct amdgpu_sync *source , struct amdgpu_sync
*clone );
π ARGUMENTS π
sourceβ the sync object you're cloning from, bestie. It's the source! πcloneβ pointer to the destination sync object, aka where the clone is headed. π¦
πΈ DESCRIPTION πΈ
okay so here's the tea: it adds references to all unsignaled fences in source to clone. iconic. β¨
and while it's at it, it also removes signaled fences from source. the way that it multitasks is lowkey main character energy, periodt. π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_create(9)amdgpu_sync_same_dev(9)amdgpu_sync_get_owner(9)amdgpu_sync_keep_later(9)amdgpu_sync_add_later(9)amdgpu_sync_fence(9)amdgpu_sync_resv(9)amdgpu_sync_kfd(9)amdgpu_sync_peek_fence(9)amdgpu_sync_get_fence(9)amdgpu_sync_move(9)amdgpu_sync_push_to_job(9)amdgpu_sync_free(9)amdgpu_sync_init(9)amdgpu_sync_fini(9)
mwah π β this page came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and yes bestie, it's still amdgpu_sync_clone(9). π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms