#
4dea1a96 |
|
03-Dec-2020 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau/iccsense: switch to instanced constructor Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
|
#
1efc3c4b |
|
23-Jan-2017 |
Karol Herbst <karolherbst@gmail.com> |
drm/nouveau/iccsense: Parse max and crit power level Signed-off-by: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
f3a8b664 |
|
03-Nov-2016 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau: silence sparse warnings about symbols not being marked static Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
a8c119a4 |
|
27-Jul-2016 |
Karol Herbst <karolherbst@gmail.com> |
drm/nouveau/iccsense: Parse the resistors and config the right way Previously we parsed that table a bit wrong: 1. The entry layout depends on the sensor type used. 2. We have all resitors in one entry for the INA3221. 3. The config is already included in the vbios. This commit addresses that issue and with that we should be able to read out the right power consumption for every GPU with a INA209, INA219 and INA3221. Signed-off-by: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
6aa85f11 |
|
26-May-2016 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau/iccsense: fix memory leak Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
56d06fa2 |
|
08-Apr-2016 |
Ben Skeggs <bskeggs@redhat.com> |
drm/nouveau/core: remove pmc_enable argument from subdev ctor These are now specified directly in the MC subdev. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
2e9a43f9 |
|
28-Mar-2016 |
Karol Herbst <nouveau@karolherbst.de> |
drm/nouveau/iccsense: configure sensors like nvidia does v2: rename ina209/ina219 read function Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
5f1f07de |
|
28-Mar-2016 |
Karol Herbst <nouveau@karolherbst.de> |
drm/nouveau/iccsense: split sensor into own struct v2: add list_del call, reword error message Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
92224e75 |
|
28-Mar-2016 |
Karol Herbst <nouveau@karolherbst.de> |
drm/nouveau/iccsense: convert to linked list v2: add list_del calls Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
d03e0f27 |
|
28-Mar-2016 |
Karol Herbst <nouveau@karolherbst.de> |
drm/nouveau/iccsense: remove read function Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
#
b71c0892 |
|
18-Feb-2016 |
Karol Herbst <nouveau@karolherbst.de> |
drm/nouveau/iccsense: implement for ina209, ina219 and ina3221 based on Martins initial work v3: fix ina2x9 calculations v4: don't kmalloc(0), fix the lsb/pga stuff v5: add a field to tell if the power reading may be invalid add nkvm_iccsense_read_all function check for the device on the i2c bus Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr>
|
#
dc06e366 |
|
18-Feb-2016 |
Martin Peres <martin.peres@free.fr> |
drm/nouveau/subdev/iccsense: add new subdev for power sensors Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Reviewed-by: Martin Peres <martin.peres@free.fr>
|