linux/drivers/gpu
Colin Ian King 13649101a2 drm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON
Currently, the expression for calculating RON is always going to result
in zero no matter the value of ram->mr[1] because the ! operator has
higher precedence than the shift >> operator.  I believe the missing
parentheses around the expression before appying the ! operator will
result in the desired result.

[ Note, not tested ]

Detected by CoveritScan, CID#1324005 ("Operands don't affect result")

Fixes: c25bf7b615 ("drm/nouveau/bios/ramcfg: Separate out RON pull value")
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
..
drm drm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON 2019-02-20 08:59:58 +10:00
host1x gpu: host1x: Continue CDMA execution starting with a next job 2019-02-07 18:34:25 +01:00
ipu-v3 gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change 2019-01-23 11:56:44 +01:00
vga vga-switcheroo: make PCI dependency explicit 2019-01-15 23:16:47 +01:00
Makefile