drivers/gpu/drm/i915/gt/intel_wopcm.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/gt/intel_wopcm.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/gt/intel_wopcm.h- Extension
.h- Size
- 1205 bytes
- Lines
- 60
- 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
linux/types.h
Detected Declarations
struct intel_wopcmfunction intel_wopcm_guc_basefunction intel_wopcm_guc_size
Annotated Snippet
struct intel_wopcm {
u32 size;
struct {
u32 base;
u32 size;
} guc;
};
/**
* intel_wopcm_guc_base()
* @wopcm: intel_wopcm structure
*
* Returns the base of the WOPCM shadowed region.
*
* Returns:
* 0 if GuC is not present or not in use.
* Otherwise, the GuC WOPCM base.
*/
static inline u32 intel_wopcm_guc_base(struct intel_wopcm *wopcm)
{
return wopcm->guc.base;
}
/**
* intel_wopcm_guc_size()
* @wopcm: intel_wopcm structure
*
* Returns size of the WOPCM shadowed region.
*
* Returns:
* 0 if GuC is not present or not in use.
* Otherwise, the GuC WOPCM size.
*/
static inline u32 intel_wopcm_guc_size(struct intel_wopcm *wopcm)
{
return wopcm->guc.size;
}
void intel_wopcm_init_early(struct intel_wopcm *wopcm);
void intel_wopcm_init(struct intel_wopcm *wopcm);
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct intel_wopcm`, `function intel_wopcm_guc_base`, `function intel_wopcm_guc_size`.
- 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.