diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-18 16:42:25 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-18 16:53:18 +0100 |
commit | de2c97b27fa176deec12a6277448397fcc246e47 (patch) | |
tree | 864807fcce4ca870c2c595cb782392c864f46bfa /overlay/gpu-freq.h | |
parent | 6a64ee938b90a2d27342aa42ba1d2d90da40dc7b (diff) |
overlay: Add GPU frequency
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-freq.h')
-rw-r--r-- | overlay/gpu-freq.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay/gpu-freq.h b/overlay/gpu-freq.h new file mode 100644 index 00000000..a704f6be --- /dev/null +++ b/overlay/gpu-freq.h @@ -0,0 +1,8 @@ +struct gpu_freq { + int rpn, rp1, rp0, max; + int request; + int current; +}; + +int gpu_freq_init(struct gpu_freq *gf); +int gpu_freq_update(struct gpu_freq *gf); |