dc_set_edp_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 flag skip_implict_edp_power_control is set. (and yes, that's spelled implict in 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 🌈

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