amdgpu_bo_move_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Bestie, say hi to amdgpu_bo_move_notify(9) from the Kernel API Manual 🫢 β€” it's a notification about a memory move, and that's literally the whole name. Periodt. πŸ’…


🌸 SYNOPSIS 🌸

       void amdgpu_bo_move_notify (struct ttm_buffer_object *bo , bool evict ,
       struct ttm_resource *new_mem );

πŸ’… ARGUMENTS πŸ’…

  • bo β€” pointer to a buffer object. Yes bestie, the BO in question. πŸŽ€
  • evict β€” if this move is evicting the buffer from the graphics address space. That's the vibe check right there. ✨
  • new_mem β€” new resource for backing the BO. Fresh backing resource, slay. πŸ¦‹

πŸŽ€ DESCRIPTION πŸŽ€

This is the TTM driver callback that gets called when ttm moves a buffer. When it runs, it marks the corresponding amdgpu_bo buffer object as invalid, and it also performs bookkeeping. So yeah: memory move happens, notification happens, bookkeeping gets done. Iconic little kernel callback behavior. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 🧚


πŸ’– xoxo, your kernel bestie β€” this page comes from the ./drivers/gpu/drm/amd/amdgpu source/version line and is dated October 2026. Slay. πŸ’–

πŸ“¦ where this page comes from