drivers/gpu/drm/amd/display/include/set_mode_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/include/set_mode_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/include/set_mode_types.h- Extension
.h- Size
- 2458 bytes
- Lines
- 103
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
dc_types.hlinux/hdmi.h
Detected Declarations
struct hdmi_info_frame_headerstruct info_packet_raw_datastruct avi_info_frameenum info_frame_flag
Annotated Snippet
struct hdmi_info_frame_header {
uint8_t info_frame_type;
uint8_t version;
uint8_t length;
};
#pragma pack(push)
#pragma pack(1)
struct info_packet_raw_data {
uint8_t hb0;
uint8_t hb1;
uint8_t hb2;
uint8_t sb[28]; /* sb0~sb27 */
};
union hdmi_info_packet {
struct avi_info_frame {
struct hdmi_info_frame_header header;
uint8_t CHECK_SUM:8;
uint8_t S0_S1:2;
uint8_t B0_B1:2;
uint8_t A0:1;
uint8_t Y0_Y1_Y2:3;
uint8_t R0_R3:4;
uint8_t M0_M1:2;
uint8_t C0_C1:2;
uint8_t SC0_SC1:2;
uint8_t Q0_Q1:2;
uint8_t EC0_EC2:3;
uint8_t ITC:1;
uint8_t VIC0_VIC7:8;
uint8_t PR0_PR3:4;
uint8_t CN0_CN1:2;
uint8_t YQ0_YQ1:2;
uint16_t bar_top;
uint16_t bar_bottom;
uint16_t bar_left;
uint16_t bar_right;
uint8_t FR0_FR3:4;
uint8_t ACE0_ACE3:4;
uint8_t RID0_RID5:6;
uint8_t FR4:1;
uint8_t F157:1;
uint8_t reserved[12];
} bits;
struct info_packet_raw_data packet_raw_data;
};
#pragma pack(pop)
#endif /* __DAL_SET_MODE_TYPES_H__ */
Annotation
- Immediate include surface: `dc_types.h`, `linux/hdmi.h`.
- Detected declarations: `struct hdmi_info_frame_header`, `struct info_packet_raw_data`, `struct avi_info_frame`, `enum info_frame_flag`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
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.