i915_gem_object_has_iomem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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