xref: /linux/drivers/gpu/drm/i915/selftests/librapl.h (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
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