linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu
Colin Ian King b1d03fc36e drm/nouveau/pmu: don't print reply values if exec is false
Currently the uninitialized values in the array reply are printed out
when exec is false and nvkm_pmu_send has not updated the array. Avoid
confusion by only dumping out these values if they have been actually
updated.

Detected by CoverityScan, CID#1271291 ("Uninitialized scaler variable")
Fixes: ebb58dc2ef ("drm/nouveau/pmu: rename from pwr (no binary change)")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2019-02-20 08:59:58 +10:00
..
fuc drm/nouveau/pmu/fuc: don't use movw directly anymore 2018-02-02 15:24:03 +10:00
base.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gf100.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gf119.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gk20a.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gk104.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gk110.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gk208.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gm20b.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gm107.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gp100.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gp102.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
gt215.c drm/nouveau/pmu/gt215-: abstract detection of whether reset is needed 2017-08-22 18:04:31 +10:00
Kbuild drm/nouveau/gm20b: add dummy PMU device 2017-02-17 15:14:31 +10:00
memx.c drm/nouveau/pmu: don't print reply values if exec is false 2019-02-20 08:59:58 +10:00
priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00