drm_atomic_g...te_obj_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

drm_atomic_get_old_private_obj_state β€”

okay so that's literally the whole NAME line bestie, it's giving mysterious. no cap, that's all the original gives us. moving on ✨

(this page lives in the Kernel API Manual, btw 🫢)


✨ SYNOPSIS ✨

struct drm_private_state * drm_atomic_get_old_private_obj_state (const
struct drm_atomic_commit *state , struct drm_private_obj *obj );

bestie look at that return type. struct drm_private_state * β€” iconic behavior fr fr πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the global atomic state object 🌍 like, the big-picture state, the main character of the whole commit
  • obj β€” the private_obj you wanna grab πŸ™ˆ that's the one you're reaching for

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” this function returns the old private object state for the private_obj you passed in. old state, not new state, iykyk πŸ‘‘

and if that private_obj isn't part of the global atomic state? it returns NULL. literally just NULL. no drama, no error code, no nothing, just NULL πŸ’€ so like, check for that bestie 🌸


πŸ’œ SEE ALSO πŸ’œ

the full squad, no one left behind 🫢


lowkey the whole friend group is in that SEE ALSO list, go say hi πŸ‘‹πŸ’–

and that's the page bestie!! 🌈 sign-off time: this one comes from ./drivers/gpu/drm, dated October 2026, and you can find it filed under drm_atomic_g...te_obj_state(9) β€” slay, periodt, go read some kernel source πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from