Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / iccsense.h
blobf483dcd7cd1c9405e6d984e39e28afc35a2a2978
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_ICCSENSE_H__
3 #define __NVKM_ICCSENSE_H__
5 #include <core/subdev.h>
7 struct nvkm_iccsense {
8 struct nvkm_subdev subdev;
9 bool data_valid;
10 struct list_head sensors;
11 struct list_head rails;
13 u32 power_w_max;
14 u32 power_w_crit;
17 int gf100_iccsense_new(struct nvkm_device *, int index, struct nvkm_iccsense **);
18 int nvkm_iccsense_read_all(struct nvkm_iccsense *iccsense);
19 #endif