xref: /linux/drivers/gpu/drm/i915/selftests/librapl.h (revision 16018c0d27eda6a7f69dafa750d23770fb46b00f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef SELFTEST_LIBRAPL_H
7 #define SELFTEST_LIBRAPL_H
8 
9 #include <linux/types.h>
10 
11 struct drm_i915_private;
12 
13 bool librapl_supported(const struct drm_i915_private *i915);
14 
15 u64 librapl_energy_uJ(void);
16 
17 #endif /* SELFTEST_LIBRAPL_H */
18