dc_set_edp_power(9)
π dc_set_edp_power β kernel API manual, but make it make sense
okay bestie, so this is a section 9 (kernel API) page for dc_set_edp_power, and it's honestly so much shorter than the SEE ALSO list, which is lowkey sending me π like the actual function is three arguments and a vibe, and then you get to the end and there's a whole β¨cityβ¨ of cross-references.
β¨ NAME β¨
dc_set_edp_power β the DM side of the story controls eDP power, ON or OFF, no in-between π
β¨ SYNOPSIS β¨
void dc_set_edp_power (const struct dc *dc , struct dc_link *edp_link ,
bool powerOn );
like yeah that's the whole signature, isn't it iconic π«Ά
β¨ ARGUMENTS β¨
dcβ the current DC state, aka the main character of the whole display-core situation πedp_linkβ a link whose connector signal type is eDP, so like, the actual panel we're talking about π¦powerOnβ bool, and it does exactly what it says on the tin: power on / power off eDP β‘
β¨ DESCRIPTION β¨
So when the DM (that's the display manager, bestie, keep up π ) wants to power the eDP panel on or off, this is the function it calls. That's the whole job.
β οΈ but here's the catch, and it's a real one: it only works on links where the flagskip_implict_edp_power_controlis set. (and yes, that's spelledimplictin the original, not me being chaotic β copy it exactly, ok?) no flag, no power control, fr fr.
β¨ RETURN β¨
void β she returns nothing. no exit status, no error code, no little treat for you. just vibes and a side effect π
β¨ SEE ALSO β¨
okay so this is the part where the manpage goes feral. grab a snack, we're going through the whole friend group π
- Kernel file
./drivers/gpu/drm/amd/display/dc/core/dc.cOverview(9) dc_stream_get_last_used_drr_vtotal(9)dc_stream_configure_crc(9)dc_stream_get_crc(9)dc_stream_adjust_vmin_vmax(9)dc_commit_state_no_check(9)dc_commit_streams(9)dc_check_state_update(9)dc_check_update_surfaces_for_stream(9)update_seamless_boot_flags(9)update_planes_and_stream_state(9)dc_check_address_only_update(9)build_dmub_cmd_list(9)could_mpcc_tree_change_for_active_pipes(9)commit_minimal_transition_state_in_dc_update(9)commit_minimal_transition_state(9)dc_update_state(9)dc_update_planes_and_stream(9)dc_enable_dcmode_clk_limit(9)dc_is_dmub_outbox_supported(9)dc_enable_dmub_notifications(9)dc_enable_dmub_outbox(9)dc_process_dmub_aux_transfer_async(9)dc_process_dmub_set_config_async(9)dc_process_dmub_set_mst_slots(9)dc_process_dmub_dpia_set_tps_notification(9)dc_process_dmub_dpia_hpd_int_enable(9)dc_print_dmub_diagnostic_data(9)dc_disable_accelerated_mode(9)dc_notify_vsync_int_state(9)dc_get_power_profile_for_dc_state(9)dc_get_det_buffer_size_from_state(9)dc_get_host_router_index(9)should_commit_intermediate_context(9)dc_update_probes_prepare(9)dc_update_probes_execute(9)
like. thirty-six of them. not me counting π but they're all there, every single one, no cap.
and that's the whole page, bestie!! π§ she lives over in ./drivers/gpu/drm/amd/display/... (the path gets cut off in the footer, tragic, I know π), dated October 2026, and it's dc_set_edp_power(9) all the way down. go forth and power your eDP panel responsibly πβ¨
π¦ 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