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.

Dependency Surface

Detected Declarations

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

Implementation Notes