drivers/gpu/drm/drm_crtc_helper_internal.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/drm_crtc_helper_internal.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/drm_crtc_helper_internal.h- Extension
.h- Size
- 2122 bytes
- Lines
- 54
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct drm_connectorstruct drm_crtcstruct drm_display_modestruct drm_encoderstruct drm_modeset_acquire_ctxenum drm_mode_status
Annotated Snippet
#ifndef __DRM_CRTC_HELPER_INTERNAL_H__
#define __DRM_CRTC_HELPER_INTERNAL_H__
enum drm_mode_status;
struct drm_connector;
struct drm_crtc;
struct drm_display_mode;
struct drm_encoder;
struct drm_modeset_acquire_ctx;
/* drm_probe_helper.c */
enum drm_mode_status drm_crtc_mode_valid(struct drm_crtc *crtc,
const struct drm_display_mode *mode);
enum drm_mode_status drm_encoder_mode_valid(struct drm_encoder *encoder,
const struct drm_display_mode *mode);
int
drm_connector_mode_valid(struct drm_connector *connector,
const struct drm_display_mode *mode,
struct drm_modeset_acquire_ctx *ctx,
enum drm_mode_status *status);
struct drm_encoder *
drm_connector_get_single_encoder(struct drm_connector *connector);
#endif /* __DRM_CRTC_HELPER_INTERNAL_H__ */
Annotation
- Detected declarations: `struct drm_connector`, `struct drm_crtc`, `struct drm_display_mode`, `struct drm_encoder`, `struct drm_modeset_acquire_ctx`, `enum drm_mode_status`.
- 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.