STRUCT DRM_CONNECTOR_TV_MARGINS(9)
π struct drm_connector_tv_margins(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in that part of the kernel today, the DRM connector zone, and honestly? it's giving cozy TV setup vibes πΈ
β¨ NAME β¨
struct drm_connector_tv_margins β the TV connector margins, aka the lil' picture frame around your image πΌοΈ
π SYNOPSIS π
struct drm_connector_tv_margins {
unsigned int bottom;
unsigned int left;
unsigned int right;
unsigned int top;
};
that's it. four unsigned ints. four. that's the whole struct and honestly? she's iconic for it, no notes π₯
π¦ MEMBERS π¦
bottomβ the bottom margin, measured in pixels. yes bestie, pixels, the unit of our people β¨leftβ the left margin, in pixels, doing the left-side thing πrightβ the right margin, in pixels, matching energy on the other side π«Άtopβ the top margin, in pixels, sitting pretty up there π
π DESCRIPTION π
so what this actually describes is β drumroll β the margins in pixels that you put around the image on TV connectors, specifically to deal with overscan. that's it, that's the whole job π―
like, your TV is out here cropping edges like it's got main character energy, and this struct is the polite little boundary that says "excuse me ma'am, please don't eat the picture" πβ¨
π SEE ALSO π
literally the entire connector cinematic universe, iykyk β plus the kernel file ./include/drm/drm_connector.h where all this lives, ngl she's a big file π«Ά
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_amd_vsdb_info(9)struct drm_display_info(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)
π reminder bestie: those are the margins in pixels for overscan on TV connectors. that's the fact. don't go inventing behaviour, that's not the vibe π
okay and one last lil sign-off π β this page lives in ./include/drm, and it's dated October 2026, so likeβ¦ future queen behavior honestly. 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