Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / iccsense.h
blobbe9475cd94fd320a481a7ce2c65f6122a5aa9e13
1 /* SPDX-License-Identifier: GPL-2.0 */
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