ENUM DRM_CONNECTOR_TV_MODE(9)
π enum drm_connector_tv_mode β Analog TV output mode β¨
Okay bestie, so this is a page about enum drm_connector_tv_mode from the Kernel API Manual, and it's genuinely one of the more chill ones β it's just a list of analog TV output modes. Retro vibes only, no cap. πΊ
πΈ SYNOPSIS πΈ
enum drm_connector_tv_mode {
DRM_MODE_TV_MODE_NTSC ,
DRM_MODE_TV_MODE_NTSC_443 ,
DRM_MODE_TV_MODE_NTSC_J ,
DRM_MODE_TV_MODE_PAL ,
DRM_MODE_TV_MODE_PAL_M ,
DRM_MODE_TV_MODE_PAL_N ,
DRM_MODE_TV_MODE_SECAM ,
DRM_MODE_TV_MODE_MONOCHROME ,
DRM_MODE_TV_MODE_MAX
};
π Constants π
So these are the constants, and honestly each one is a whole little lore drop. Let's go one by one, no skipping, periodt. π
DRM_MODE_TV_MODE_NTSCβ CCIR System M (aka the 525-lines one, iykyk) together with the NTSC Color Encoding. The classic. β¨DRM_MODE_TV_MODE_NTSC_443β a variant ofDRM_MODE_TV_MODE_NTSCthat uses a color subcarrier frequency of4.43 MHz. Same energy, different frequency, she's quirky like that. π¦DRM_MODE_TV_MODE_NTSC_Jβ variant ofDRM_MODE_TV_MODE_NTSCused in Japan, using a black level equals to the blanking level. Japan said "we're doing it slightly differently" and honestly? Slay. πΈDRM_MODE_TV_MODE_PALβ CCIR System B together with the PAL color system. The people's princess. πDRM_MODE_TV_MODE_PAL_Mβ CCIR System M (aka 525-lines, again bestie) together with the PAL color encoding. Note how the original line has no trailing period β I'm preserving that, don't come for me. πDRM_MODE_TV_MODE_PAL_Nβ CCIR System N together with the PAL color encoding. And okay, this one is the main character of the PAL variants because: it uses625lines, but has a color subcarrier frequency of3.58MHz, the SECAM color space, and narrower channels compared to most of the other PAL variants. She contains multitudes. That's a lot of plot for one enum value, lowkey. πDRM_MODE_TV_MODE_SECAMβ CCIR System B together with the SECAM color system. πDRM_MODE_TV_MODE_MONOCHROMEβ use timings appropriate to the DRM mode, including equalizing pulses for a 525-line or 625-line mode, with no pedestal or color encoding. She's minimalist. She's above color. Highkey iconic. π€DRM_MODE_TV_MODE_MAXβ number of analog TV output modes. That's literally all it is, she's just the counter at the end. π§
Also, tucked in right there: Internal implementation detail; this is not uABI. Noted, bestie, noted. π
π¦ Description π¦
So this enum is used to indicate the TV output mode used on an analog TV connector. That's the whole vibe, fr fr. π
β οΈ WARNING: The values of this enum is uABI since they're exposed in the "TV mode" connector property. So like, don't go changing them, okay? They're public-facing. That's a hard no. π₯
π SEE ALSO π
Okay so the kernel file is ./include/drm/drm_connector.h (that's the main one), and then there's a whole friend group of related pages β all of these, every single one, no cuts:
enum drm_connector_status(9), enum drm_connector_registration_state(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_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, that's the whole group chat. Go read them, bestie, they're all worth it. π«Ά
π And that's the page! π
Sign-off time: this one lives in ./include/drm, it's dated October 2026, and yes β the title on the tin is still enum drm_connector_tv_mode(9). Now go forth and configure your analog TV output, you absolute legend. βπ¦π
π¦ 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