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

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/selftests/librapl.h
Extension
.h
Size
313 bytes
Lines
18
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 SELFTEST_LIBRAPL_H
#define SELFTEST_LIBRAPL_H

#include <linux/types.h>

struct drm_i915_private;

bool librapl_supported(const struct drm_i915_private *i915);

u64 librapl_energy_uJ(void);

#endif /* SELFTEST_LIBRAPL_H */

Annotation

Implementation Notes