]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/pmu/gm20x: don't pretend we support loading with our custom FW
authorBen Skeggs <bskeggs@redhat.com>
Tue, 16 Jun 2020 05:15:58 +0000 (15:15 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jul 2020 08:50:48 +0000 (18:50 +1000)
commit73b8b1fbd3fc59683644a2679b5d5d7494ef12a3
tree2465116ad2cd40e6609ba7296be43da7f9fa08a0
parent502b9d0624c496a32b1ec93d23f7d4edf194f3be
drm/nouveau/pmu/gm20x: don't pretend we support loading with our custom FW

It technically loads, and runs, but is ultimately pointless outside of
a very narrow window (fanless systems where one wants to attempt using
the, broken for a lot of gm20x, memory reclocking code).

It's also potentially dangerous to override the VBIOS-provided "Pre-OS"
PMU, which would be responsible for fan control otherwise.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm200.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp100.c [deleted file]