amdgpu_bo_get_tiling_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_bo_get_tiling_flags β€” get tiling flags ✨

okay bestie, welcome to the Kernel API Manual (yes, that's the manual name, we're fancy now πŸŽ€) β€” this is the page for amdgpu_bo_get_tiling_flags, and honestly? it's giving tiny-but-mighty. one job, does it, slays, leaves. πŸ’–


✨ NAME ✨

amdgpu_bo_get_tiling_flags β€” get tiling flags. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

void amdgpu_bo_get_tiling_flags (struct amdgpu_bo *bo , u64
*tiling_flags );

like, look at her. void return, so she's not handing you anything back directly β€” she writes into *tiling_flags and dips. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bo β€” an amdgpu_bo buffer object πŸ‘‘ the main character of this whole function ngl
  • tiling_flags β€” the returned flags 🫢 this is where the answer goes, so please actually pass a real pointer, ok?

πŸ’œ DESCRIPTION πŸ’œ

so what does she do? she gets the buffer object's tiling flags. periodt. 🎯

and iykyk, this is the one that's used by the GEM ioctl or by the kernel driver to set the tiling flags on a buffer. so like β€” she's the read side of that story. the getter. the girl who knows what the tiling flags currently are. πŸ’«

no cap, that's the entire description. short queen. 🌈


🧚 SEE ALSO 🧚

the kernel file where this all lives is literally:

./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

and then, okay, brace yourself, because there is a whole friend group of related pages and we are not skipping a single one (i would never do that to you 🫢):

amdgpu_object(9), amdgpu_bo_is_amdgpu_bo(9), amdgpu_bo_placement_from_domain(9), amdgpu_bo_create_reserved(9), amdgpu_bo_create_kernel(9), amdgpu_bo_create_isp_user(9), amdgpu_bo_create_kernel_at(9), amdgpu_bo_free_kernel(9), amdgpu_bo_free_isp_user(9), amdgpu_bo_create(9), amdgpu_bo_create_user(9), amdgpu_bo_create_vm(9), amdgpu_bo_kmap(9), amdgpu_bo_kptr(9), amdgpu_bo_kunmap(9), amdgpu_bo_ref(9), amdgpu_bo_unref(9), amdgpu_bo_pin(9), amdgpu_bo_unpin(9), amdgpu_bo_init(9), amdgpu_bo_fini(9), amdgpu_bo_set_tiling_flags(9), amdgpu_bo_set_metadata(9), amdgpu_bo_get_metadata(9), amdgpu_bo_move_notify(9), amdgpu_bo_release_notify(9), amdgpu_bo_fault_reserve_notify(9), amdgpu_bo_fence(9), amdgpu_bo_sync_wait_resv(9), amdgpu_bo_sync_wait(9), amdgpu_bo_gpu_offset(9), amdgpu_bo_fb_aper_addr(9), amdgpu_bo_gpu_offset_no_check(9), amdgpu_bo_mem_stats_placement(9), amdgpu_bo_get_preferred_domain(9), amdgpu_bo_print_info(9)

see how she's got a amdgpu_bo_set_tiling_flags(9) sibling? yeah. getter and setter. iconic duo behavior. πŸ’€βœ¨


bestie note: this page is from the ./drivers/gpu/drm/amd/amdgpu corner of the kernel, dated October 2026, and it's part of the Kernel API Manual. that's the whole source + version + date situation, we love a tidy sign-off 🌸

luv u, go read your tiling flags responsibly πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from