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

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/selftests/lib_sw_fence.h
Extension
.h
Size
1061 bytes
Lines
44
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

struct timed_fence {
	struct i915_sw_fence fence;
	struct timer_list timer;
};

void timed_fence_init(struct timed_fence *tf, unsigned long expires);
void timed_fence_fini(struct timed_fence *tf);

struct i915_sw_fence *heap_fence_create(gfp_t gfp);
void heap_fence_put(struct i915_sw_fence *fence);

#endif /* _LIB_SW_FENCE_H_ */

Annotation

Implementation Notes