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.

Dependency Surface

Detected Declarations

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

Implementation Notes