drm_dp_atomi...e_time_slots(9)
๐ 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 ๐
- Kernel file
./drivers/gpu/drm/display/drm_dp_mst_topology.c dp mst helper(9)Branch device and port refcounting(9)drm_dp_mst_get_mstb_malloc(9)drm_dp_mst_put_mstb_malloc(9)drm_dp_mst_get_port_malloc(9)drm_dp_mst_put_port_malloc(9)drm_dp_mst_topology_try_get_mstb(9)drm_dp_mst_topology_get_mstb(9)drm_dp_mst_topology_put_mstb(9)drm_dp_mst_topology_try_get_port(9)drm_dp_mst_topology_get_port(9)drm_dp_mst_topology_put_port(9)drm_dp_mst_dpcd_read(9)drm_dp_mst_dpcd_write(9)drm_dp_mst_connector_late_register(9)drm_dp_mst_connector_early_unregister(9)drm_dp_add_payload_part1(9)drm_dp_remove_payload_part1(9)drm_dp_remove_payload_part2(9)drm_dp_add_payload_part2(9)drm_dp_get_vc_payload_bw(9)drm_dp_read_mst_cap(9)drm_dp_mst_topology_mgr_set_mst(9)drm_dp_mst_topology_queue_probe(9)drm_dp_mst_topology_mgr_suspend(9)drm_dp_mst_topology_mgr_resume(9)drm_dp_mst_hpd_irq_handle_event(9)drm_dp_mst_hpd_irq_send_new_request(9)drm_dp_mst_detect_port(9)drm_dp_mst_edid_read(9)drm_dp_mst_get_edid(9)drm_dp_atomic_find_time_slots(9)drm_dp_mst_atomic_setup_commit(9)drm_dp_mst_atomic_wait_for_dependencies(9)drm_dp_mst_root_conn_atomic_check(9)drm_dp_mst_update_slots(9)drm_dp_check_act_status(9)drm_dp_calc_pbn_mode(9)drm_dp_mst_dump_topology(9)drm_dp_mst_port_downstream_of_parent(9)drm_dp_mst_add_affected_dsc_crtcs(9)drm_dp_mst_atomic_enable_dsc(9)drm_dp_mst_atomic_check_mgr(9)drm_dp_mst_atomic_check(9)drm_atomic_get_mst_topology_state(9)drm_atomic_get_old_mst_topology_state(9)drm_atomic_get_new_mst_topology_state(9)drm_dp_mst_topology_mgr_init(9)drm_dp_mst_topology_mgr_destroy(9)drm_dp_mst_register_i2c_bus(9)drm_dp_mst_unregister_i2c_bus(9)drm_dp_mst_is_virtual_dpcd(9)drm_dp_mst_aux_for_parent(9)drm_dp_mst_dsc_aux_for_port(9)
๐ซถ 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
- 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