ENUM DRM_DP_DUAL_MODE_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum drm_dp_dual_mode_type(9) ✨

okay bestie, welcome to the drm_dp_dual_mode_type page from the Kernel API Manual πŸ’… this is your girl's guide to a little enum that tells you what kind of DP dual mode adaptor you're dealing with πŸŽ€


🌸 NAME 🌸

enum drm_dp_dual_mode_type β€” it's literally giving "what type of DP dual mode adaptor is this" πŸ¦‹


✨ SYNOPSIS ✨

enum drm_dp_dual_mode_type {
    DRM_DP_DUAL_MODE_NONE ,
    DRM_DP_DUAL_MODE_UNKNOWN ,
    DRM_DP_DUAL_MODE_TYPE1_DVI ,
    DRM_DP_DUAL_MODE_TYPE1_HDMI ,
    DRM_DP_DUAL_MODE_TYPE2_DVI ,
    DRM_DP_DUAL_MODE_TYPE2_HDMI ,
    DRM_DP_DUAL_MODE_LSPCON

};

no cap, that's the whole enum up there ^ πŸ”₯


🫢 Constants 🫢

okay so here's the cast of characters, each one a different vibe check on your adaptor πŸ’–

  • DRM_DP_DUAL_MODE_NONE β€” no DP dual mode adaptor at all, it's giving "nothing here bestie" πŸ™ˆ
  • DRM_DP_DUAL_MODE_UNKNOWN β€” could be either none or a type 1 DVI adaptor 😭 we literally can't tell, it's ambiguous, you get both possibilities
  • DRM_DP_DUAL_MODE_TYPE1_DVI β€” a Type 1 DVI adaptor πŸ’™ classic
  • DRM_DP_DUAL_MODE_TYPE1_HDMI β€” a Type 1 HDMI adaptor πŸ’™ iconic
  • DRM_DP_DUAL_MODE_TYPE2_DVI β€” a Type 2 DVI adaptor πŸ’œ the sequel era
  • DRM_DP_DUAL_MODE_TYPE2_HDMI β€” a Type 2 HDMI adaptor πŸ’œ iconic part two
  • DRM_DP_DUAL_MODE_LSPCON β€” level shifter / protocol converter πŸ‘‘ that's the fancy one, main character energy fr fr

πŸ‘€ SEE ALSO πŸ‘€

go read these next, iykyk 🌈

  • Kernel file ./include/drm/display/drm_dp_dual_mode_helper.h
  • enum drm_lspcon_mode(9)

okay that's the whole page bestie, you ate that πŸ’…πŸ’– this came from ./include/drm/display and it's dated October 2026 β€” so when you're like "wait when was this even from", boom, now you know πŸŽ€ slay, periodt, go read some kernel source ⭐🧚

πŸ“¦ where this page comes from