drivers/gpu/drm/nouveau/nouveau_debugfs.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/nouveau_debugfs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/nouveau/nouveau_debugfs.h- Extension
.h- Size
- 1013 bytes
- Lines
- 58
- 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_debugfs.hnouveau_drv.h
Detected Declarations
struct nouveau_debugfsfunction nouveau_debugfsfunction nouveau_drm_debugfs_initfunction nouveau_debugfs_fini
Annotated Snippet
struct nouveau_debugfs {
struct nvif_object ctrl;
};
static inline struct nouveau_debugfs *
nouveau_debugfs(struct drm_device *dev)
{
return nouveau_drm(dev)->debugfs;
}
extern void nouveau_drm_debugfs_init(struct drm_minor *);
extern int nouveau_debugfs_init(struct nouveau_drm *);
extern void nouveau_debugfs_fini(struct nouveau_drm *);
extern struct dentry *nouveau_debugfs_root;
void nouveau_module_debugfs_init(void);
void nouveau_module_debugfs_fini(void);
#else
static inline void
nouveau_drm_debugfs_init(struct drm_minor *minor)
{}
static inline int
nouveau_debugfs_init(struct nouveau_drm *drm)
{
return 0;
}
static inline void
nouveau_debugfs_fini(struct nouveau_drm *drm)
{
}
static inline void
nouveau_module_debugfs_init(void)
{
}
static inline void
nouveau_module_debugfs_fini(void)
{
}
#endif
#endif
Annotation
- Immediate include surface: `drm/drm_debugfs.h`, `nouveau_drv.h`.
- Detected declarations: `struct nouveau_debugfs`, `function nouveau_debugfs`, `function nouveau_drm_debugfs_init`, `function nouveau_debugfs_fini`.
- 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.