intel_ddc_get_modes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– intel_ddc_get_modes(9) πŸ’–

okay so bestie, this is a page from the Kernel API Manual (yes the actual kernel manual, we're fancy now ✨) and it's all about intel_ddc_get_modes β€” literally the function that goes and asks your monitor what it can do. slay.


🌸 NAME 🌸

intel_ddc_get_modes β€” get modelist from monitor πŸ‘‘ (yes that's the whole vibe: go get the list of modes, from the monitor, no cap)


✨ SYNOPSIS ✨

int intel_ddc_get_modes (struct drm_connector *connector , struct
       i2c_adapter *ddc );

it's giving "one function, two arguments, returns an int" 🫢 that's the whole signature, keep it exactly like that.


πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” the DRM connector device to use πŸ’… like, this is the connector we're working with, that's the one.
  • ddc β€” the DDC bus i2c adapter πŸ¦‹ the i2c adapter that is the DDC bus. yes queen, both of those facts.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it do? it fetches the EDID information from connector using the DDC bus. that's it. that's the whole thing. EDID in, from the connector, over the DDC bus. iconic behaviour honestly πŸ”₯

ngl it's a small function but like… the monitor's whole personality lives in that EDID, and this is how we go get it ✨


🌈 SEE ALSO 🌈

  • the kernel file ./drivers/gpu/drm/i915/display/intel_connector.c β€” go read it, iykyk πŸ“–
  • intel_connector_update_modes(9) β€” the sibling function, give it a look too πŸ’œ
fr fr if you're poking around i915 display code, these two are your besties πŸ’…

and that's the page!! πŸŽ€ cute little sign-off: this one lives under ./drivers/gpu/drm/i915/display, and it's dated October 2026 β€” so mark your calendar bestie, see you then πŸ’–βœ¨πŸŒΈπŸ¦‹πŸ«Ά

πŸ“¦ where this page comes from