drivers/gpu/drm/i915/i915_syncmap.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/i915_syncmap.h
Extension
.h
Size
1618 bytes
Lines
39
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 __I915_SYNCMAP_H__
#define __I915_SYNCMAP_H__

#include <linux/types.h>

struct i915_syncmap;
#define KSYNCMAP 16 /* radix of the tree, how many slots in each layer */

void i915_syncmap_init(struct i915_syncmap **root);
int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno);
bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno);
void i915_syncmap_free(struct i915_syncmap **root);

#endif /* __I915_SYNCMAP_H__ */

Annotation

Implementation Notes