mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
drm/nouveau/therm: don't attempt fan control where PMU is already managing it
There's already a condition in place which attempts to detect this, but since we've begun to require a PMU subdev even on boards where we don't load a custom FW, it's become inaccurate. This will prevent unnecessarily running a periodic fan update thread on GP100 and newer, where we don't yet override the default PMU FW. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -30,6 +30,7 @@ struct nvkm_pmu {
|
||||
int nvkm_pmu_send(struct nvkm_pmu *, u32 reply[2], u32 process,
|
||||
u32 message, u32 data0, u32 data1);
|
||||
void nvkm_pmu_pgob(struct nvkm_pmu *, bool enable);
|
||||
bool nvkm_pmu_fan_controlled(struct nvkm_device *);
|
||||
|
||||
int gt215_pmu_new(struct nvkm_device *, int, struct nvkm_pmu **);
|
||||
int gf100_pmu_new(struct nvkm_device *, int, struct nvkm_pmu **);
|
||||
|
||||
Reference in New Issue
Block a user