drivers/gpu/drm/verisilicon/vs_hwdb.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/verisilicon/vs_hwdb.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/verisilicon/vs_hwdb.h
Extension
.h
Size
656 bytes
Lines
35
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 vs_formats {
	const u32 *array;
	unsigned int num;
};

struct vs_chip_identity {
	u32 model;
	u32 revision;
	u32 customer_id;

	u32 display_count;
	/*
	 * The hardware only supports square cursor planes, so this field
	 * is both the maximum width and height in pixels.
	 */
	int32_t max_cursor_size;
	const struct vs_formats *formats;
};

int vs_fill_chip_identity(struct regmap *regs,
			  struct vs_chip_identity *ident);

#endif /* _VS_HWDB_H_ */

Annotation

Implementation Notes