ENUM DRM_BRIDGE_OPS(9)
π NAME
okay so bestie, welcome to the enum drm_bridge_ops(9) page from the Kernel API Manual β itβs literally the bitmask of operations supported by the bridge. Think of it as the bridgeβs βwhat can I actually do?β checklist, and every flag is a yes/no vibe. β¨
πΈ SYNOPSIS
enum drm_bridge_ops {
DRM_BRIDGE_OP_DETECT ,
DRM_BRIDGE_OP_EDID ,
DRM_BRIDGE_OP_HPD ,
DRM_BRIDGE_OP_MODES ,
DRM_BRIDGE_OP_HDMI ,
DRM_BRIDGE_OP_HDMI_AUDIO ,
DRM_BRIDGE_OP_DP_AUDIO ,
DRM_BRIDGE_OP_HDMI_CEC_NOTIFIER ,
DRM_BRIDGE_OP_HDMI_CEC_ADAPTER ,
DRM_BRIDGE_OP_HDMI_HDR_DRM_INFOFRAME ,
DRM_BRIDGE_OP_HDMI_SPD_INFOFRAME
};
π§© Constants
Each one is iconic in its own way, and if a bridge sets a flag with a callback, it has to actually implement that callback β no fake main character energy allowed π
DRM_BRIDGE_OP_DETECTβ the bridge can detect displays connected to its output. Bridges that set this flag shall implement thedrm_bridge_funcs->detectcallback.DRM_BRIDGE_OP_EDIDβ the bridge can retrieve the EDID of the display connected to its output. Bridges that set this flag shall implement thedrm_bridge_funcs->edid_readcallback.DRM_BRIDGE_OP_HPDβ the bridge can detect hot-plug and hot-unplug without requiring polling. Bridges that set this flag shall implement thedrm_bridge_funcs->hpd_enableanddrm_bridge_funcs->hpd_disablecallbacks if they support enabling and disabling hot-plug detection dynamically.DRM_BRIDGE_OP_MODESβ the bridge can retrieve the modes supported by the display at its output. This does not include reading EDID which is separately covered byDRM_BRIDGE_OP_EDID. Bridges that set this flag shall implement thedrm_bridge_funcs->get_modescallback.DRM_BRIDGE_OP_HDMIβ the bridge provides HDMI connector operations, including infoframes support. Bridges that set this flag must provide HDMI-related information and implement thedrm_bridge_funcs->clear_avi_infoframe,drm_bridge_funcs->write_avi_infoframe,drm_bridge_funcs->clear_hdmi_infoframeanddrm_bridge_funcs->write_hdmi_infoframecallbacks.
Note: currently there can be at most one bridge in a chain that sets this bit. This is to simplify corresponding glue code in connector drivers.
DRM_BRIDGE_OP_HDMI_AUDIOβ the bridge provides HDMI audio operations. Bridges that set this flag must implement thedrm_bridge_funcs->hdmi_audio_prepareanddrm_bridge_funcs->hdmi_audio_shutdowncallbacks. If the bridge implementsDRM_BRIDGE_OP_HDMI, it also must implementdrm_bridge_funcs->hdmi_write_audio_infoframeanddrm_bridge_funcs->hdmi_cleaer_audio_infoframecallbacks.
Note: currently there can be at most one bridge in a chain that sets this bit. This is to simplify corresponding glue code in connector drivers. Also it is not possible to have a bridge in the chain that sets DRM_BRIDGE_OP_DP_AUDIO if there is a bridge that sets this flag.
DRM_BRIDGE_OP_DP_AUDIOβ the bridge provides DisplayPort audio operations. Bridges that set this flag must implement thedrm_bridge_funcs->dp_audio_prepareanddrm_bridge_funcs->dp_audio_shutdowncallbacks.
Note: currently there can be at most one bridge in a chain that sets this bit. This is to simplify corresponding glue code in connector drivers. Also it is not possible to have a bridge in the chain that sets DRM_BRIDGE_OP_HDMI_AUDIO if there is a bridge that sets this flag.
DRM_BRIDGE_OP_HDMI_CEC_NOTIFIERβ the bridge requires CEC notifier to be present.DRM_BRIDGE_OP_HDMI_CEC_ADAPTERβ the bridge requires CEC adapter to be present.DRM_BRIDGE_OP_HDMI_HDR_DRM_INFOFRAMEβ the bridge supportsdrm_bridge_funcs->hdmi_write_hdr_drm_infoframeanddrm_bridge_funcs->hdmi_clear_hdr_drm_infoframecallbacks.DRM_BRIDGE_OP_HDMI_SPD_INFOFRAMEβ the bridge supportsdrm_bridge_funcs->hdmi_write_spd_infoframeanddrm_bridge_funcs->hdmi_clear_spd_infoframecallbacks.
π SEE ALSO
Kernel file ./include/drm/drm_bridge.h is where it lives, bestie. Also go say hi to enum drm_bridge_attach_flags(9), struct drm_bridge_funcs(9), struct drm_bridge_timings(9), struct drm_bridge(9), devm_drm_bridge_alloc(9), drm_bridge_get_current_state(9), drm_bridge_get_next_bridge(9), drm_bridge_get_prev_bridge(9), drm_bridge_chain_get_first_bridge(9), drm_bridge_chain_get_last_bridge(9), drm_for_each_bridge_in_chain(9), drm_for_each_bridge_in_chain_from(9).
mwah π β this page is sourced from ./include/drm, dated October 2026. Now go slay those bridge ops, bestie π«Άβ¨π
π¦ 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