]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/volt: Fix for some cards having 0 maximum voltage
authorMark Menzynski <mmenzyns@redhat.com>
Fri, 2 Aug 2019 09:21:00 +0000 (11:21 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:34 +0000 (12:55 +1000)
commitd256a474ea622e5c0da6c13fb39fc3ff3ec9ffcd
tree5a0da1d208a192c3022685081f501785b7002052
parent05d3d5b0510495ca817cd7cd5b363689cf27cb57
drm/nouveau/volt: Fix for some cards having 0 maximum voltage

Some, mostly Fermi, vbioses appear to have zero max voltage. That causes Nouveau to not parse voltage entries, thus users not being able to set higher clocks.

When changing this value Nvidia driver still appeared to ignore it, and I wasn't able to find out why, thus the code is ignoring the value if it is zero.

CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c