intel_digit...licate_state(9)
π intel_digital_connector_duplicate_state(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yeah, that's the manual name, and this page is intel_digit...licate_state(9) (the truncation is doing its little thing, you'll get used to it, iykyk π). Buckle up, we're duplicating some connector state and it's gonna be iconic.
β¨ NAME β¨
intel_digital_connector_duplicate_state β duplicate connector state π«Ά
like, literally copy the state. that's the whole vibe.
πΈ SYNOPSIS πΈ
struct drm_connector_state * intel_digital_connector_duplicate_state
(struct drm_connector *connector );
yup, that's the whole signature, no cap. it hands you back a struct drm_connector_state * and it takes exactly one thing: connector.
π¦ ARGUMENTS π¦
connectorβ digital connector π« (that's it, that's the argument. she's simple, she's elegant, she's a digital connector.)
π DESCRIPTION π
so what does she do? she allocates and returns a copy of the connector state for the connector you passed in. and not just a partial copy, bestie β it's both the common state and the digital-connector-specific state. the whole package. the full fit. π
main character energy fr fr: takes your connector, gives you back a fresh duplicate of its state. slay.
β RETURN β
- the newly allocated connector state π β she's yours now, congrats
- or
NULLon failure π β yeah. sometimes things just don't work out. check your returns, bestie, please.
π₯ SEE ALSO π₯
okay the friend group, in order:
- Kernel file
./drivers/gpu/drm/i915/display/intel_atomic.cβ atomic modeset support(9) π§ intel_digital_connector_atomic_get_property(9)intel_digital_connector_atomic_set_property(9)intel_connector_needs_modeset(9)intel_any_crtc_needs_modeset(9)intel_crtc_duplicate_state(9)intel_crtc_destroy_state(9)
go read them, they ate. π
lowkey reminder: this page lives under ./drivers/gpu/drm/i915/display β remember that path, it's giving home address. π
aaand that's the page!! π shoutout to the source path ./drivers/gpu/drm/i915/display and the version date October 2026, with the page name intel_digit...licate_state(9) holding it down at the bottom like the little footer icon she is. periodt. π
β¨π
π¦ 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