STRUCT DRM_AMD_VSDB_INFO(9)
π 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 abool, so it's giving yes/no, on/off, slay/not-slay πpanel_typeβ the panel technology type.u8flavored, 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
- 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