i915_gem_object_has_iomem(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for i915_gem_object_has_iomem(9) β yes the name is long, she's iconic like that π
. This is the function that tells you whether the object is iomem-backed. That's the whole vibe check, fr fr.
β¨ SYNOPSIS β¨
bool i915_gem_object_has_iomem (const struct drm_i915_gem_object *obj );
π ARGUMENTS π
objβ the object to query. You're literally asking this object a question, so be nice to her π«Ά.
π¦ DESCRIPTION π¦
okay so the rule is: only call this while the object is locked or pinned. If you don't, the iomem backing may change under the caller β and that's the warning, no cap π.
β οΈ bestie pls respect this: locked or pinned, periodt. Calling it any other way means the iomem backing may change under the caller, and that is not a cute look π.
β RETURN β
True if iomem-backed, false otherwise. Simple, clean, slay π.
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/i915/gem/i915_gem_object.c
also lowkey check out these icons π:
__i915_gem_object_fini(9)i915_gem_object_set_cache_coherency(9)i915_gem_object_set_pat_index(9)__i915_gem_object_pages_fini(9)i915_gem_object_read_from_page(9)i915_gem_object_evictable(9)i915_gem_object_migratable(9)i915_gem_object_has_struct_page(9)i915_gem_object_can_migrate(9)i915_gem_object_migrate(9)__i915_gem_object_migrate(9)i915_gem_object_placement_possible(9)i915_gem_object_needs_ccs_pages(9)i915_gem_object_get_moving_fence(9)i915_gem_object_wait_moving_fence(9)
okay that's the whole page, bestie π«Ά this entry lives in the Kernel API Manual, with source/version ./drivers/gpu/drm/i915/gem and date October 2026. 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