drivers/gpu/drm/i915/gvt/mmio_context.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/gvt/mmio_context.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/gvt/mmio_context.h- Extension
.h- Size
- 2039 bytes
- Lines
- 59
- 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 i915_requeststruct intel_contextstruct intel_engine_csstruct intel_gvtstruct intel_vgpu
Annotated Snippet
#ifndef __GVT_RENDER_H__
#define __GVT_RENDER_H__
#include <linux/types.h>
struct i915_request;
struct intel_context;
struct intel_engine_cs;
struct intel_gvt;
struct intel_vgpu;
void intel_gvt_switch_mmio(struct intel_vgpu *pre,
struct intel_vgpu *next,
const struct intel_engine_cs *engine);
void intel_gvt_init_engine_mmio_context(struct intel_gvt *gvt);
bool is_inhibit_context(struct intel_context *ce);
int intel_vgpu_restore_inhibit_context(struct intel_vgpu *vgpu,
struct i915_request *req);
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct i915_request`, `struct intel_context`, `struct intel_engine_cs`, `struct intel_gvt`, `struct intel_vgpu`.
- 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.