drm/nouveau/fb/ram/gp100-: fix memory detection where FBP_NUM != FBPA_NUM
authorBen Skeggs <bskeggs@redhat.com>
Mon, 21 Nov 2016 01:01:33 +0000 (11:01 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 28 Nov 2016 05:39:35 +0000 (15:39 +1000)
commit02099bac651fc040ec9b443ea8cdb1856ae768a8
tree6a6508b7e3b7233d19facad99101dffce41e0e1a
parentff5354120fa1e3c0654f7bda5a8614f37daf387c
drm/nouveau/fb/ram/gp100-: fix memory detection where FBP_NUM != FBPA_NUM

In this situation, we'd have ended up detecting less VRAM than we have.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c