drivers/gpu/drm/v3d/v3d_performance_counters.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/v3d/v3d_performance_counters.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/v3d/v3d_performance_counters.h
Extension
.h
Size
747 bytes
Lines
34
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 v3d_perf_counter_desc {
	/* Category of the counter */
	char category[32];

	/* Name of the counter */
	char name[64];

	/* Description of the counter */
	char description[256];
};

struct v3d_perfmon_info {
	/* Different revisions of V3D have different total number of
	 * performance counters.
	 */
	unsigned int max_counters;

	/* Array of counters valid for the platform. */
	const struct v3d_perf_counter_desc *counters;
};

#endif

Annotation

Implementation Notes