drivers/gpu/drm/amd/display/dc/irq_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/irq_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/display/dc/irq_types.h- Extension
.h- Size
- 6592 bytes
- Lines
- 238
- 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
os_types.h
Detected Declarations
struct dc_contextstruct dc_timer_interrupt_paramsstruct dc_interrupt_paramsenum dc_irq_sourceenum irq_typeenum dc_interrupt_contextenum dc_interrupt_polarity
Annotated Snippet
struct dc_timer_interrupt_params {
uint32_t micro_sec_interval;
enum dc_interrupt_context int_context;
};
struct dc_interrupt_params {
/* The polarity *change* which will trigger an interrupt.
* If 'requested_polarity == INTERRUPT_POLARITY_BOTH', then
* 'current_polarity' must be initialised. */
enum dc_interrupt_polarity requested_polarity;
/* If 'requested_polarity == INTERRUPT_POLARITY_BOTH',
* 'current_polarity' should contain the current state, which means
* the interrupt will be triggered when state changes from what is,
* in 'current_polarity'. */
enum dc_interrupt_polarity current_polarity;
enum dc_irq_source irq_source;
enum dc_interrupt_context int_context;
};
#endif
Annotation
- Immediate include surface: `os_types.h`.
- Detected declarations: `struct dc_context`, `struct dc_timer_interrupt_params`, `struct dc_interrupt_params`, `enum dc_irq_source`, `enum irq_type`, `enum dc_interrupt_context`, `enum dc_interrupt_polarity`.
- 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.