STRUCT I915_GEM_APPLY_TO_REGION_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual entry for struct i915_gem_apply_to_region_ops β€” and it's literally the ops to use when iterating over all region objects. that's the whole vibe. iconic. no cap. πŸ’…βœ¨

✨ SYNOPSIS ✨

here's the struct definition, exactly as written, character for character, don't @ me:

struct i915_gem_apply_to_region_ops {
    int (*process_obj)(struct i915_gem_apply_to_region *apply, struct
drm_i915_gem_object *obj);
 };

🫢 Members 🫢

  • process_obj β€” Process the current object. that's her job. she processes. she's the main character of the current object's storyline. πŸ‘‘πŸ¦‹
note bestie, this part is lowkey important: if this function is part of a ww transaction, and if it returns -EDEADLK for one of the objects, it may be rerun for that same object in the same pass. so like, don't panic if she comes back around β€” it's not a glitch, it's giving rerun energy. πŸ˜­πŸ’€πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/i915/gem/i915_gem_region.h
  • struct i915_gem_apply_to_region(9)

that's the whole manual, bestie. sourced from ./drivers/gpu/drm/i915/gem, dated October 2026, from the Kernel API Manual β€” and yes, the struct name in the footer was struct i915...o_region_ops(9), but we don't need to copy the line, we just mention it. byeee, go iterate some region objects and slay πŸ’–πŸŽ€πŸ¦‹πŸŒΈπŸ’œ

πŸ“¦ where this page comes from