drivers/gpu/drm/amd/display/include/grph_object_defs.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/include/grph_object_defs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/include/grph_object_defs.h- Extension
.h- Size
- 5717 bytes
- Lines
- 197
- 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
grph_object_id.h
Detected Declarations
struct connector_layout_infostruct slot_layout_infostruct board_layout_infoenum hpd_source_idenum channel_idenum transmitterenum sync_sourceenum tx_ffe_idenum connector_layout_type
Annotated Snippet
struct connector_layout_info {
struct graphics_object_id connector_id;
enum connector_layout_type connector_type;
unsigned int length;
unsigned int position; /* offset in mm from right side of the board */
};
/* length and width in mm */
struct slot_layout_info {
unsigned int length;
unsigned int width;
unsigned int num_of_connectors;
struct connector_layout_info connectors[MAX_CONNECTOR_NUMBER_PER_SLOT];
};
struct board_layout_info {
unsigned int num_of_slots;
/* indicates valid information in bracket layout structure. */
unsigned int is_number_of_slots_valid : 1;
unsigned int is_slots_size_valid : 1;
unsigned int is_connector_offsets_valid : 1;
unsigned int is_connector_lengths_valid : 1;
struct slot_layout_info slots[MAX_BOARD_SLOTS];
};
#endif
Annotation
- Immediate include surface: `grph_object_id.h`.
- Detected declarations: `struct connector_layout_info`, `struct slot_layout_info`, `struct board_layout_info`, `enum hpd_source_id`, `enum channel_id`, `enum transmitter`, `enum sync_source`, `enum tx_ffe_id`, `enum connector_layout_type`.
- 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.