Re: [Nouveau] [PATCH] drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection

2017-04-29 Thread Karol Herbst
good catch Reviewed-by: Karol Herbst 2017-04-29 6:11 GMT+02:00 Mario Kleiner : > 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:

[Nouveau] [PATCH] drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection

2017-04-28 Thread Mario Kleiner
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 --- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c | 2 +- 1 file changed, 1 insertion(+), 1