ENUM DRM_OUTPUT_COLOR_FORMAT(9)
β¨ NAME β¨
okay bestie, we're diving into enum drm_output_color_format from the Kernel API Manual β it's literally the Output Color Format enum, and it's the main character of connector color vibes π
π SYNOPSIS π
enum drm_output_color_format {
DRM_OUTPUT_COLOR_FORMAT_RGB444 ,
DRM_OUTPUT_COLOR_FORMAT_YCBCR444 ,
DRM_OUTPUT_COLOR_FORMAT_YCBCR422 ,
DRM_OUTPUT_COLOR_FORMAT_YCBCR420 ,
DRM_OUTPUT_COLOR_FORMAT_COUNT
};
π Constants π
DRM_OUTPUT_COLOR_FORMAT_RGB444β RGB output format. Classic, iconic, the RGB queen πDRM_OUTPUT_COLOR_FORMAT_YCBCR444β YCbCr 4:4:4 output format (ie. not subsampled). Full chroma, no skimping, every pixel gets its moment β¨DRM_OUTPUT_COLOR_FORMAT_YCBCR422β YCbCr 4:2:2 output format (ie. with horizontal subsampling). Horizontal subsampling said βwe can shareβ πDRM_OUTPUT_COLOR_FORMAT_YCBCR420β YCbCr 4:2:0 output format (ie. with horizontal and vertical subsampling). Both directions are sharing, itβs giving budget-friendly but make it work π¦DRM_OUTPUT_COLOR_FORMAT_COUNTβ Number of valid output color format values in this enum. The count, the limit, the final boss of this list π
π Description π
okay so this enum is literally a consolidated color format list supported by connectors. The way that itβs only ever really been used for HDMI and DP so far, so itβs not exhaustive and can be extended to represent other formats in the future. No cap β itβs a living list, bestie π§
π SEE ALSO π
bestie, the rabbit hole is DEEP, so hereβs the whole squad from ./include/drm/drm_connector.h β every single one, no skips, periodt:
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_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)
and thatβs the whole page, bestie! this iconic manual page lives in ./include/drm, dropped October 2026, and itβs enum drm_out...color_format(9) β stay colorful, stay iconic, and remember: every pixel matters π
β¨π
π¦ 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