aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_display.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2017-04-29 06:11:30 +0200
committerBen Skeggs <bskeggs@redhat.com>2017-04-29 22:39:23 +1000
commit271393ba6e2ac384a14e581d34d5d72c5953e3c6 (patch)
treeb2e5bbbc05ed74b98b58122d8ae8452b6525f13e /drivers/gpu/drm/nouveau/nv50_display.c
parentdrm/nouveau/secboot/gm20b: fix the error return code in gm20b_secboot_tegra_read_wpr() (diff)
downloadlinux-dev-271393ba6e2ac384a14e581d34d5d72c5953e3c6.tar.xz
linux-dev-271393ba6e2ac384a14e581d34d5d72c5953e3c6.zip
drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection
A missing u64 cast causes a 32-Bit wraparound from 4096 MiB to 0 MiB and therefore total 0 MiB VRAM detected if card has 4096 Mib per FBP. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions