STRUCT DRM_AMD_VSDB_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_amd_vsdb_info(9) πŸ’…

okay so this is a page from the Kernel API Manual bestie, and we're about to get into some AMD-specific display metadata. no cap, it's a whole struct and it's lowkey iconic. let's go ✨


🌸 NAME 🌸

struct drm_amd_vsdb_info β€” literally the AMD-specific VSDB information holder. that's it, that's the vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole thing, character for character, don't @ me:

struct drm_amd_vsdb_info {
    u8 version;
    bool replay_mode;
    u8 panel_type;
    struct drm_luminance_range_info luminance_range1;
    struct drm_luminance_range_info luminance_range2;
 };

like, five fields. tidy. we stan a compact struct πŸ’œ


πŸ¦‹ Members πŸ¦‹

okay so let's meet the cast, one by one:

  • version β€” the version of the Vendor-Specific Data Block (VSDB). yes bestie, the block itself has a version. main character energy tbh πŸ‘‘
  • replay_mode β€” whether Panel Replay is supported. it's a bool, so it's giving yes/no, on/off, slay/not-slay 🌈
  • panel_type β€” the panel technology type. u8 flavored, so go look up your panel lore elsewhere, this is just the type tag 🏷️
  • luminance_range1 β€” luminance for max back light. brightest-baddie energy πŸ”₯
  • luminance_range2 β€” luminance for min back light. dim-but-still-present energy πŸŒ™

✨ Description ✨

so the whole point of this struct: it holds the information that gets parsed from the AMD Vendor-Specific Data Block (VSDB) version 3. that's the entire description and honestly? it ate. short, sweet, no filler πŸ’…

heads up: it's version 3 specifically, per the manual. don't come at me with version 2 questions, this page doesn't cover them πŸ™ˆ

πŸ’– SEE ALSO πŸ’–

the manual points you at the kernel file ./include/drm/drm_connector.h, and then hits you with the entire friend group. every single one, fr fr:

  • enum drm_connector_status(9)
  • enum drm_connector_registration_state(9)
  • enum drm_connector_tv_mode(9)
  • struct drm_scrambling(9)
  • struct drm_hdmi_dsc_cap(9)
  • struct drm_hdmi_info(9)
  • enum drm_link_status(9)
  • enum drm_panel_orientation(9)
  • enum drm_hdmi_broadcast_rgb(9)
  • struct drm_monitor_range_info(9)
  • struct drm_luminance_range_info(9)
  • enum drm_privacy_screen_status(9)
  • enum drm_colorspace(9)
  • enum drm_output_color_format(9)
  • enum drm_connector_color_format(9)
  • enum drm_bus_flags(9)
  • struct drm_display_info(9)
  • struct drm_connector_tv_margins(9)
  • struct drm_tv_connector_state(9)
  • struct drm_connector_hdmi_infoframe(9)
  • struct drm_connector_state(9)
  • struct drm_connector_cec_funcs(9)
  • struct drm_connector_infoframe_funcs(9)
  • struct drm_connector_hdmi_funcs(9)
  • struct drm_connector_funcs(9)
  • struct drm_cmdline_mode(9)
  • struct drm_connector_hdmi_audio(9)
  • struct drm_connector_cec(9)
  • struct drm_connector(9)
  • drm_connector_lookup(9)
  • drm_connector_get(9)
  • drm_connector_put(9)
  • drm_connector_is_unregistered(9)
  • struct drm_tile_group(9)
  • struct drm_connector_list_iter(9)
  • drm_for_each_connector_iter(9)
  • drm_connector_for_each_possible_encoder(9)

and that's the whole page bestie, you read all of it, i'm so proud πŸ₯Ή

this one lives under ./include/drm, dated October 2026 β€” go forth and parse your VSDB version 3 data responsibly, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from