drivers/gpu/drm/amd/display/modules/inc/mod_info_packet.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/modules/inc/mod_info_packet.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/modules/inc/mod_info_packet.h- Extension
.h- Size
- 2642 bytes
- Lines
- 80
- 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
dm_services.hmod_info_packet_types.hmod_shared.h
Detected Declarations
struct dc_stream_statestruct dc_info_packetstruct mod_vrr_paramsstruct frame_duration_opstruct AS_Df_paramsenum adaptive_sync_sdp_version
Annotated Snippet
struct frame_duration_op {
bool support;
unsigned char frame_duration_hex;
};
struct AS_Df_params {
bool supportMode;
struct frame_duration_op increase;
struct frame_duration_op decrease;
};
void mod_build_adaptive_sync_infopacket(const struct dc_stream_state *stream,
enum adaptive_sync_type asType, const struct AS_Df_params *param,
struct dc_info_packet *info_packet);
void mod_build_adaptive_sync_infopacket_v2(const struct dc_stream_state *stream,
const struct AS_Df_params *param, struct dc_info_packet *info_packet);
void mod_build_adaptive_sync_infopacket_v1(struct dc_info_packet *info_packet);
#endif
Annotation
- Immediate include surface: `dm_services.h`, `mod_info_packet_types.h`, `mod_shared.h`.
- Detected declarations: `struct dc_stream_state`, `struct dc_info_packet`, `struct mod_vrr_params`, `struct frame_duration_op`, `struct AS_Df_params`, `enum adaptive_sync_sdp_version`.
- 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.