]> 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)
commitf8b06ff11faad317aff4ae16dce0e687a9d4481c
tree2465116ad2cd40e6609ba7296be43da7f9fa08a0
parentf14a89f5ac6c0bba739bc46c8e0b847ecca06637
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]