radeon_vm_num_pdes(9)
π radeon_vm_num_pdes π
okay bestie, so this is a page from the Kernel API Manual, and the star of the show is radeon_vm_num_pdes(9) β like, the whole vibe of this function is counting. It literally returns the number of page directory entries. That's the main character energy right there. π
β¨ SYNOPSIS β¨
unsigned radeon_vm_num_pdes (struct radeon_device *rdev );
That's it. One argument, returns an unsigned. Clean, simple, slay. π
πΈ ARGUMENTS πΈ
rdevβ aradeon_devicepointer. Yep, that's the whole argument list, queen. She takes the device, that's it. π«Ά
π¦ DESCRIPTION π¦
So what does she do? She calculates the number of page directory entries (cayman+). That's the whole bit β she does the math and hands you the count. Lowkey iconic that a function can be this focused. β¨
ngl the (cayman+) is doing a lot of work there β that's your cue that this is the cayman-and-newer side of things. Don't lose it, it's important! π₯
π SEE ALSO π
The kernel file where all of this lives is:
./drivers/gpu/drm/radeon/radeon_vm.c
And here's the whole friend group β every one of these is family, fr fr: π§
radeon_vm_directory_size(9)radeon_vm_manager_init(9)radeon_vm_manager_fini(9)radeon_vm_get_bos(9)radeon_vm_grab_id(9)radeon_vm_flush(9)radeon_vm_fence(9)radeon_vm_bo_find(9)radeon_vm_bo_add(9)radeon_vm_set_pages(9)radeon_vm_clear_bo(9)radeon_vm_bo_set_addr(9)radeon_vm_map_gart(9)radeon_vm_page_flags(9)radeon_vm_update_page_directory(9)radeon_vm_frag_ptes(9)radeon_vm_update_ptes(9)radeon_vm_fence_pts(9)radeon_vm_bo_update(9)radeon_vm_clear_freed(9)radeon_vm_clear_invalids(9)radeon_vm_bo_rmv(9)radeon_vm_bo_invalidate(9)radeon_vm_init(9)radeon_vm_fini(9)
aaand that's the page! π this one's from ./drivers/gpu/drm/radeon, dated October 2026 β so yeah, future girlie hours, no cap. go count your pdes bestie, you've got this ππ
π¦ 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