intel_dp_is_edp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, meet intel_dp_is_edp from the Kernel API Manual ✨ β€” it answers the question: is the given port attached to an eDP panel (either CPU or PCH)? πŸ‘‘


🌸 SYNOPSIS 🌸

bool intel_dp_is_edp (struct intel_dp *intel_dp );

πŸŽ€ ARGUMENTS πŸŽ€

  • intel_dp β€” the DP struct 🫢 (that's the one and only argument, no cap).

πŸ¦‹ DESCRIPTION πŸ¦‹

If a CPU or PCH DP output is attached to an eDP panel, this function will return true, and false otherwise. Literally that simple, bestie πŸ’….

⚠️ Real talk: this function is not safe to use prior to encoder type being set. Do not skip that part, okay? 😭

🌈 SEE ALSO 🌈


Catch u later πŸ’– β€” source/version: ./drivers/gpu/drm/i915/display Β· date: October 2026 Β· intel_dp_is_edp(9) 🫢

πŸ“¦ where this page comes from