amdgpu_res_cpu_visible(9)
π NAME π
amdgpu_res_cpu_visible β bestie, this is the vibe check that tells you whether a resource can actually be reached by the CPU π«Ά
β¨ SYNOPSIS β¨
bool amdgpu_res_cpu_visible (struct amdgpu_device *adev , struct
ttm_resource *res );
π ARGUMENTS π
adevβ the amdgpu device in question, the main character of this whole situation πresβ the resource we're checking, likeβ¦ is this one CPU-visible or not, iykyk
πΈ RETURN πΈ
Returns true if the full resource is CPU visible π
and false otherwise. Not "mostly visible", not "visible-ish" β the whole entire thing or nothing, periodt.
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
amdgpu_evict_flags(9)amdgpu_ttm_map_buffer(9)amdgpu_ttm_copy_mem_to_mem(9)amdgpu_ttm_domain_start(9)amdgpu_ttm_mmio_remap_alloc_sgt(9)amdgpu_ttm_tt_create(9)amdgpu_ttm_tt_get_userptr(9)amdgpu_ttm_tt_set_userptr(9)amdgpu_ttm_tt_pde_flags(9)amdgpu_ttm_tt_pte_flags(9)amdgpu_ttm_access_memory(9)amdgpu_ttm_training_reserve_vram_fini(9)amdgpu_ttm_alloc_mmio_remap_bo(9)amdgpu_ttm_free_mmio_remap_bo(9)amdgpu_ttm_enable_buffer_funcs(9)amdgpu_ttm_disable_buffer_funcs(9)amdgpu_ttm_clear_buffer(9)amdgpu_ttm_evict_resources(9)
okay that's the whole lore drop π this gem lives in ./drivers/gpu/drm/amd/amdgpu, it's giving October 2026 energy, and it's filed under amdgpu_res_cpu_visible(9) β go read the others too, slay πβ¨
π¦ 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