i915_ttm_resource_mappable(9)
π NAME π
Hii bestie! Welcome to the Kernel API Manual π This page is all about i915_ttm_resource_mappable β it returns true if the ttm resource is CPU accessible, periodt.
β¨ SYNOPSIS β¨
bool i915_ttm_resource_mappable (struct ttm_resource *res );
π ARGUMENTS π
resβ the TTM resource you're checking, bestie. That's the one.
π¦ DESCRIPTION π¦
Okay so here's the tea: this is interesting on small-BAR systems, where we may encounter lmem objects that can't be accessed via the CPU. That's the whole situation β no cap. π
πΈ SEE ALSO πΈ
- Kernel file:
./drivers/gpu/drm/i915/gem/i915_gem_ttm.c - struct
i915_ttm_tt(9) i915_ttm_sys_placement(9)i915_ttm_free_cached_io_rsgt(9)i915_ttm_purge(9)i915_ttm_resource_get_st(9)i915_ttm_driver(9)Migration vs eviction(9)i915_ttm_adjust_lru(9)
This lil page lives in ./drivers/gpu/drm/i915/gem, and it's stamped October 2026 β xoxo, mwah πβ¨
π¦ 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