]> Git Repo - J-linux.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/iccsense.h
Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[J-linux.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / iccsense.h
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_ICCSENSE_H__
3 #define __NVKM_ICCSENSE_H__
4
5 #include <core/subdev.h>
6
7 struct nvkm_iccsense {
8         struct nvkm_subdev subdev;
9         bool data_valid;
10         struct list_head sensors;
11         struct list_head rails;
12
13         u32 power_w_max;
14         u32 power_w_crit;
15 };
16
17 int gf100_iccsense_new(struct nvkm_device *, enum nvkm_subdev_type, int, struct nvkm_iccsense **);
18 int nvkm_iccsense_read_all(struct nvkm_iccsense *iccsense);
19 #endif
This page took 0.031945 seconds and 4 git commands to generate.