mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
Not much point at the moment since we use forcewake to continuously probe the GPU busyness. But that will eventually change to a more power-efficient in-kernel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
22 lines
330 B
C
22 lines
330 B
C
#include <stdint.h>
|
|
|
|
struct rc6 {
|
|
struct rc6_stat {
|
|
uint64_t rc6_residency;
|
|
uint64_t rc6p_residency;
|
|
uint64_t rc6pp_residency;
|
|
uint64_t timestamp;
|
|
} stat[2];
|
|
|
|
int count;
|
|
int error;
|
|
|
|
uint8_t rc6;
|
|
uint8_t rc6p;
|
|
uint8_t rc6pp;
|
|
uint8_t rc6_combined;
|
|
};
|
|
|
|
int rc6_init(struct rc6 *rc6);
|
|
int rc6_update(struct rc6 *rc6);
|