include/drm/drm_connector.h
Source file repositories/reference/linux-study-clean/include/drm/drm_connector.h
File Facts
- System
- Linux kernel
- Corpus path
include/drm/drm_connector.h- Extension
.h- Size
- 79734 bytes
- Lines
- 2673
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/list.hlinux/llist.hlinux/ctype.hlinux/hdmi.hlinux/notifier.hdrm/drm_mode_object.hdrm/drm_util.hdrm/drm_property.huapi/drm/drm_mode.h
Detected Declarations
struct drm_connector_helper_funcsstruct drm_modeset_acquire_ctxstruct drm_devicestruct drm_crtcstruct drm_display_modestruct drm_encoderstruct drm_panelstruct drm_propertystruct drm_property_blobstruct drm_printerstruct drm_privacy_screenstruct drm_edidstruct edidstruct hdmi_codec_daifmtstruct hdmi_codec_paramsstruct i2c_adapterstruct drm_scramblingstruct drm_scdcstruct drm_hdmi_dsc_capstruct drm_hdmi_infostruct drm_monitor_range_infostruct drm_luminance_range_infostruct drm_amd_vsdb_infostruct drm_display_infostruct drm_connector_tv_marginsstruct drm_tv_connector_statestruct drm_connector_hdmi_infoframestruct drm_connector_hdmi_statestruct drm_connector_statestruct drm_connector_hdmi_audio_funcsstruct drm_connector_cec_funcsstruct drm_connector_infoframe_funcsstruct drm_connector_hdmi_funcsstruct drm_connector_funcsstruct drm_cmdline_modestruct drm_connector_hdmi_audiostruct drm_connector_hdmistruct drm_connector_cecstruct drm_connectorstruct drm_tile_groupstruct drm_connector_list_iterenum drm_connector_forceenum drm_connector_statusenum drm_connector_registration_stateenum subpixel_orderenum drm_connector_tv_modeenum drm_link_statusenum drm_panel_orientation
Annotated Snippet
struct drm_scrambling {
/**
* @supported: scrambling supported for rates > 340 Mhz.
*/
bool supported;
/**
* @low_rates: scrambling supported for rates <= 340 Mhz.
*/
bool low_rates;
};
/*
* struct drm_scdc - Information about scdc capabilities of a HDMI 2.0 sink
*
* Provides SCDC register support and capabilities related information on a
* HDMI 2.0 sink. In case of a HDMI 1.4 sink, all parameter must be 0.
*/
struct drm_scdc {
/**
* @supported: status control & data channel present.
*/
bool supported;
/**
* @read_request: sink is capable of generating scdc read request.
*/
bool read_request;
/**
* @scrambling: sink's scrambling capabilities
*/
struct drm_scrambling scrambling;
};
/**
* struct drm_hdmi_dsc_cap - DSC capabilities of HDMI sink
*
* Describes the DSC support provided by HDMI 2.1 sink.
* The information is fetched fom additional HFVSDB blocks defined
* for HDMI 2.1.
*/
struct drm_hdmi_dsc_cap {
/** @v_1p2: flag for dsc1.2 version support by sink */
bool v_1p2;
/** @native_420: Does sink support DSC with 4:2:0 compression */
bool native_420;
/**
* @all_bpp: Does sink support all bpp with 4:4:4: or 4:2:2
* compressed formats
*/
bool all_bpp;
/**
* @bpc_supported: compressed bpc supported by sink : 10, 12 or 16 bpc
*/
u8 bpc_supported;
/** @max_slices: maximum number of Horizontal slices supported by */
u8 max_slices;
/** @clk_per_slice : max pixel clock in MHz supported per slice */
int clk_per_slice;
/** @max_lanes : dsc max lanes supported for Fixed rate Link training */
u8 max_lanes;
/** @max_frl_rate_per_lane : maximum frl rate with DSC per lane */
u8 max_frl_rate_per_lane;
/** @total_chunk_kbytes: max size of chunks in KBs supported per line*/
u8 total_chunk_kbytes;
};
/**
* struct drm_hdmi_info - runtime information about the connected HDMI sink
*
* Describes if a given display supports advanced HDMI 2.0 features.
* This information is available in CEA-861-F extension blocks (like HF-VSDB).
*/
struct drm_hdmi_info {
/** @scdc: sink's scdc support and capabilities */
struct drm_scdc scdc;
/**
* @y420_vdb_modes: bitmap of modes which can support ycbcr420
* output only (not normal RGB/YCBCR444/422 outputs). The max VIC
* defined by the CEA-861-G spec is 219, so the size is 256 bits to map
* up to 256 VICs.
*/
unsigned long y420_vdb_modes[BITS_TO_LONGS(256)];
Annotation
- Immediate include surface: `linux/list.h`, `linux/llist.h`, `linux/ctype.h`, `linux/hdmi.h`, `linux/notifier.h`, `drm/drm_mode_object.h`, `drm/drm_util.h`, `drm/drm_property.h`.
- Detected declarations: `struct drm_connector_helper_funcs`, `struct drm_modeset_acquire_ctx`, `struct drm_device`, `struct drm_crtc`, `struct drm_display_mode`, `struct drm_encoder`, `struct drm_panel`, `struct drm_property`, `struct drm_property_blob`, `struct drm_printer`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.