linux/drivers/gpu/drm/nouveau/nvkm
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
..
core drm/nouveau/core: increase maximum number of nvdec instances to 3 2018-12-11 15:37:55 +10:00
engine drm/nouveau/ce/tu102: rename implementation from tu104 2019-02-20 08:59:58 +10:00
falcon drm/nouveau/core: support multiple nvdec instances 2018-12-11 15:37:44 +10:00
subdev drm/nouveau/pmu: don't print reply values if exec is false 2019-02-20 08:59:58 +10:00
Kbuild drm/nouveau/core: add falcon library functions 2017-02-17 15:14:30 +10:00