radeon_vm_set_pages(9)
β¨ NAME β¨
radeon_vm_set_pages β helper to call the right asic function π οΈπ
Okay bestie, this is the radeon_vm_set_pages(9) page from the Kernel API Manual, and it's lowkey a tiny little helper with one job: call the right asic function. Iconic behavior, honestly.
π οΈ SYNOPSIS π οΈ
void radeon_vm_set_pages (struct radeon_device *rdev , struct radeon_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint32_t flags );
π§Ύ ARGUMENTS π§Ύ
rdevβ aradeon_devicepointer, as promised. π«Άibβ the indirect buffer to fill with commands. Get it filled, bestie.peβ addr of the page entry. Yes, literallype. πaddrβ dst addr to write intope.countβ number of page entries to update. Count 'em.incrβ increase next addr byincrbytes.flagsβ hw access flags. That's the vibe. β¨
π DESCRIPTION π
So what this does is trace the parameters, then call the right asic functions to setup the page table using the DMA. That's the whole thing β no cap, no extra drama. π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/radeon/radeon_vm.c β the main character source file, iykyk. πΈ
radeon_vm_num_pdes(9)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_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)
Mwah π this little page comes from the source path ./drivers/gpu/drm/radeon, dated October 2026, and it's radeon_vm_set_pages(9) from the Kernel API Manual. Byeee π«Άπ
π¦ 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