drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h- Extension
.h- Size
- 5733 bytes
- Lines
- 202
- 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
drm/drm_encoder.hfsl_dcu_drm_crtc.hfsl_dcu_drm_output.hfsl_dcu_drm_plane.h
Detected Declarations
struct clkstruct devicestruct drm_devicestruct fsl_dcu_soc_datastruct fsl_dcu_drm_device
Annotated Snippet
struct fsl_dcu_soc_data {
const char *name;
/*total layer number*/
unsigned int total_layer;
/*max layer number DCU supported*/
unsigned int max_layer;
unsigned int layer_regs;
};
struct fsl_dcu_drm_device {
struct device *dev;
struct device_node *np;
struct regmap *regmap;
int irq;
struct clk *clk;
struct clk *pix_clk;
struct fsl_tcon *tcon;
/*protects hardware register*/
spinlock_t irq_lock;
struct drm_device *drm;
struct drm_crtc crtc;
struct drm_encoder encoder;
struct fsl_dcu_drm_connector connector;
const struct fsl_dcu_soc_data *soc;
};
int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev);
#endif /* __FSL_DCU_DRM_DRV_H__ */
Annotation
- Immediate include surface: `drm/drm_encoder.h`, `fsl_dcu_drm_crtc.h`, `fsl_dcu_drm_output.h`, `fsl_dcu_drm_plane.h`.
- Detected declarations: `struct clk`, `struct device`, `struct drm_device`, `struct fsl_dcu_soc_data`, `struct fsl_dcu_drm_device`.
- 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.