drm_atomic_g...te_obj_state(9)
π 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 commitobjβ 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 π«Ά
- Kernel file
./drivers/gpu/drm/drm_atomic.c,state lifetime(9),drm_crtc_commit_wait(9),drm_atomic_commit_default_release(9),drm_atomic_commit_init(9),drm_atomic_commit_alloc(9),drm_atomic_commit_default_clear(9),drm_atomic_commit_clear(9),__drm_atomic_commit_free(9) drm_atomic_get_crtc_state(9),drm_atomic_get_plane_state(9),drm_atomic_get_colorop_state(9),drm_atomic_get_old_colorop_state(9),drm_atomic_get_new_colorop_state(9),drm_atomic_plane_check(9)handling driver private state(9),drm_atomic_private_obj_init(9),drm_atomic_private_obj_fini(9),drm_atomic_get_private_obj_state(9),drm_atomic_get_new_private_obj_state(9)drm_atomic_get_old_connector_for_encoder(9),drm_atomic_get_new_connector_for_encoder(9),drm_atomic_get_connector_for_encoder(9),drm_atomic_get_old_crtc_for_encoder(9),drm_atomic_get_new_crtc_for_encoder(9)drm_atomic_get_connector_state(9),drm_atomic_get_bridge_state(9),drm_atomic_get_old_bridge_state(9),drm_atomic_get_new_bridge_state(9)drm_atomic_add_encoder_bridges(9),drm_atomic_add_affected_connectors(9),drm_atomic_add_affected_planes(9),drm_atomic_add_affected_colorops(9)drm_atomic_check_only(9),drm_atomic_commit(9),drm_atomic_nonblocking_commit(9),drm_atomic_print_new_state(9),drm_state_dump(9)
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
- 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