STRUCT DRM_MONITOR_RANGE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct drm_monitor_range_info(9) β€” the Kernel API Manual, bestie edition

okay so you're in the Kernel API Manual and we're talking about struct drm_monitor_range_info(9). pull up a chair, this one's actually adorable. πŸŽ€


✨ NAME ✨

struct drm_monitor_range_info β€” literally the panel's Monitor range in EDID for &drm_display_info. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

struct drm_monitor_range_info {
    u16 min_vfreq;
    u16 max_vfreq;
 };

two u16s. that's it. she's small but she's mighty. πŸ¦‹


πŸ’– MEMBERS πŸ’–

  • min_vfreq β€” this is the min supported refresh rate in Hz, straight out of EDID's detailed monitor range. the floor. the lower bound. the "don't go below this" energy. 🫢
  • max_vfreq β€” this is the max supported refresh rate in Hz, also from EDID's detailed monitor range. the ceiling. the "that's as fast as she goes" moment. πŸ”₯

🌈 DESCRIPTION 🌈

so this struct is where we store a frequency range that the panel supports β€” and we get it by parsing EDID's detailed monitor range descriptor block. like, the monitor literally tells us its comfort zone and we just... keep it. iconic behaviour, no cap. ⭐

she's a storage struct, bestie. no functions, no side quests β€” just holding onto that range for &drm_display_info so the rest of the kernel can vibe check it later. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

all of these live in the kernel file ./include/drm/drm_connector.h β€” go say hi to the whole extended family, they're all linked up:

  • 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_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_amd_vsdb_info(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)

like, the entire connector cinematic universe. you're welcome. πŸ‘‘


and that's the page, bestie!! sourced from ./include/drm, dated October 2026, filed under struct drm_monitor_range_info(9) β€” mwah, slay, go read the connector header, ily πŸ§šπŸ’œβœ¨

πŸ“¦ where this page comes from