amdgpu_res_cpu_visible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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


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