drm_dp_atomi...e_time_slots(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… drm_dp_atomic_release_time_slots(9) โ€” the kernel API manual, but make it make sense ๐ŸŽ€

okay bestie, this one's from the Kernel API Manual and it's literally the give the time slots back function. no cap, it's giving cleanup-era main character energy โœจ


๐ŸŒธ NAME ๐ŸŒธ

drm_dp_atomic_release_time_slots โ€” release allocated time slots. that's it, that's the vibe. you're handing the slots back, not hoarding them ๐Ÿ’–


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

int drm_dp_atomic_release_time_slots (struct drm_atomic_commit *state ,
struct drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_port *port );

like, three args, one int, we move ๐Ÿ’…


๐Ÿ‘‘ ARGUMENTS ๐Ÿ‘‘

  • state โ€” the global atomic state. yes, global, she's everywhere, she's the main character of the whole commit โœจ
  • mgr โ€” the MST topology manager for the port. it's the manager, it manages ๐Ÿซถ
  • port โ€” The port to release the time slots from. bye slots, you're free ๐Ÿฆ‹

๐Ÿงš DESCRIPTION ๐Ÿงš

so basically this function releases any time slots that have been allocated to a port in the atomic state. lowkey important!

any atomic drivers that support MST must call this function unconditionally in their drm_connector_helper_funcs.atomic_check callback. like, no skipping, no "but what if", just call it. periodt ๐Ÿ’€

this helper will check whether time slots would be released by the new state and respond accordingly โ€” and on top of that, it makes sure the MST state is always added to the atomic state whenever a new state would modify the state of payloads on the topology. she's thorough, she's organized, she ate ๐Ÿ”ฅ

it is OK to call this even if port has been removed from the system. yes, even then. it's also OK to call this function multiple times on the same port as needed โ€” go off, call it as much as you want ๐Ÿ™ˆ

๐Ÿ’€ but it is NOT OK to call this function and drm_dp_atomic_find_time_slots on the same port in a single atomic check phase. pick a lane bestie, you cannot be doing both in one phase, that's not the vibe.

See also: drm_dp_atomic_find_time_slots drm_dp_mst_atomic_check


โญ RETURN โญ

0 on success, negative error code otherwise. cute and simple ๐Ÿ’œ


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

bestie brace yourself, this list is long โ€” but every single one of them is iconic in her own way ๐Ÿ‘‘


๐Ÿซถ ok that's the whole page, love u ๐Ÿซถ

this icon lives at ./drivers/gpu/drm/display and she was dated October 2026 โ€” like, future queen behavior honestly ๐Ÿ”ฎโœจ slay, go release those time slots, and remember: drm_dp_atomic_find_time_slots stays in her own lane ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from