amdgpu_bo_get_tiling_flags(9)
π 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β anamdgpu_bobuffer object π the main character of this whole function ngltiling_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
- 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