18 lines
313 B
C
18 lines
313 B
C
|
/* SPDX-License-Identifier: MIT */
|
||
|
/*
|
||
|
* Copyright © 2020 Intel Corporation
|
||
|
*/
|
||
|
|
||
|
#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 */
|