is_edp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

is_edp β€” from the Kernel API Manual, this is the is_edp(9) function that checks whether the given port is attached to an eDP panel (either CPU or PCH) πŸ‘‘βœ¨

✨ SYNOPSIS ✨

The signature, exactly as written so there's no typo situation bestie:

bool is_edp (struct gma_encoder *encoder );

πŸŽ€ ARGUMENTS πŸŽ€

  • encoder β€” the GMA encoder struct 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

If a CPU or PCH DP output is attached to an eDP panel, this function will return true. Otherwise it returns false. Literally that simple, no cap πŸ˜­πŸ’…

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/gma500/cdv_intel_dp.c
  • struct i2c_algo_dp_aux_data(9)

Cute sign-off: source/version spot ./drivers/gpu/drm/gma500, dated October 2026, for the is_edp(9) page πŸ’œπŸ«Ά

πŸ“¦ where this page comes from