summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/librapl.h
blob: e3b24fad0a7aa7ef6f50128ceebecfb4dffe463e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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 */