amdgpu_seq64_alloc(9)
πΈ amdgpu_seq64_alloc(9) β like, the Kernel API Manual page, bestie π
okay so this is a page straight outta the Kernel API Manual (amdgpu_seq64_alloc(9), yes the whole name is the title, we love a self-titled icon π) and it's literally just one little function that grabs you some 64-bit memory from the seq64 pool. Short page, but it ate. let's get into it β¨
β¨ NAME β¨
amdgpu_seq64_alloc β allocate a 64-bit memory π
β¨ SYNOPSIS β¨
int amdgpu_seq64_alloc (struct amdgpu_device *adev , u64 *va , u64
*gpu_addr , u64 **cpu_addr );
β¨ ARGUMENTS β¨
so there's four things you gotta hand over, no cap:
adevβ theamdgpu_devicepointer. your main character struct fr π«Άvaβ the VA you use to access the seq in process address space πgpu_addrβ the GPU address you use to access the seq π₯cpu_addrβ the CPU address you use to access the seq πΈ
β¨ DESCRIPTION β¨
Allocates a 64-bit memory from the seq64 pool. that's it, that's the whole vibe. short king π
β¨ RETURN β¨
0on success π- a negative error code on failure π (rip, but at least it's negative and not, like, mysterious)
β¨ SEE ALSO β¨
go check out the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c β it's giving source-of-truth π
and also these besties right here:
amdgpu_seq64(9)amdgpu_seq64_get_va_base(9)amdgpu_seq64_map(9)amdgpu_seq64_unmap(9)amdgpu_seq64_free(9)amdgpu_seq64_fini(9)amdgpu_seq64_init(9)
alright bestie, that's the whole page, mwah π§ this one lives at ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β timestamped for the future, iconic behavior honestly βπ
π¦ 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