zynqmp_dp_phy_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynqmp_dp_phy_probe β€” the Kernel API Manual, bestie edition ✨

okay so before we even start: this is zynqmp_dp_phy_probe(9), straight out of the Kernel API Manual. Yes that manual. We're reading kernel docs for fun now, that's just who we are πŸ’–


✨ NAME ✨

zynqmp_dp_phy_probe β€” Probe the PHYs πŸŽ€

(get it? we're going PHY-shopping. no? okay moving on)


πŸ¦‹ SYNOPSIS πŸ¦‹

int zynqmp_dp_phy_probe (struct zynqmp_dp *dp );

that's literally the whole signature. short, sweet, iconic. she doesn't need to overexplain πŸ’…


🌸 ARGUMENTS 🌸

  • dp β€” the DisplayPort IP core structure 🫢 that's the one (1) thing you gotta hand her.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so the whole vibe here: she's probing PHYs for all lanes ✨ like, every lane gets its PHY check, that's the assignment and she ate.

But here's the plot twist πŸ“ β€” less PHYs may be available than the number of lanes, and that is not considered an error, as long as at least one PHY is found. Not me being flexible about hardware availability 😌 growth.

So if you're the caller and you're sitting there like "wait, how many did we actually get??" β€” you can check dp->num_lanes to see how many PHYs were found. That's your cheat code fr fr πŸ”₯


πŸ’€ RETURN πŸ’€

she has opinions and she will share them:

  • 0 β€” Success πŸŽ‰ slay, we're so back
  • -ENXIO β€” No PHY found 😭 living in a PHY-less household
  • -EPROBE_DEFER β€” Probe deferral requested πŸ™ˆ not me asking for more time
  • Other negative value β€” PHY retrieval failure πŸ’… she had one job and the PHY did not come home
bestie please actually check the return value. negative means look at me, something's up, not "eh probably fine" 😀

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xlnx/zynqmp_dp.c β€” and, like, the entire extended cinematic universe of structs and functions because she knows everyone πŸ‘‘

like I said. everyone. πŸ’œ


and that's the page!! huge shoutout to ./drivers/gpu/drm/xlnx for being the source, October 2026 for the date, and zynqmp_dp_phy_probe(9) for the version tag πŸŽ€ go probe some PHYs, bestie, you've got this 🧚✨ πŸ’…

πŸ“¦ where this page comes from