drivers/gpu/drm/i915/selftests/mock_gtt.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/selftests/mock_gtt.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/selftests/mock_gtt.h
Extension
.h
Size
1460 bytes
Lines
38
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 __MOCK_GTT_H
#define __MOCK_GTT_H

struct drm_i915_private;
struct i915_ggtt;
struct intel_gt;

void mock_init_ggtt(struct intel_gt *gt);
void mock_fini_ggtt(struct i915_ggtt *ggtt);

struct i915_ppgtt *mock_ppgtt(struct drm_i915_private *i915, const char *name);

#endif /* !__MOCK_GTT_H */

Annotation

Implementation Notes