android_kernel_samsung_a7y1.../drivers/gpu
Colin Ian King ad1adecb21 drm/nouveau/pmu: don't print reply values if exec is false
[ Upstream commit b1d03fc36ec9834465a08c275c8d563e07f6f6bf ]

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: ebb58dc2ef8c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:40:39 +02:00
..
arm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
drm drm/nouveau/pmu: don't print reply values if exec is false 2020-04-07 13:40:39 +02:00
host1x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ipu-v3 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM 2020-04-06 20:04:46 +02:00
vga A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30