intel_ddc_get_modes(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms