drm/radeon: Fix VRAM size calculation for VRAM >= 4GB
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Sat, 18 May 2013 19:19:23 +0000 (21:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2013 18:14:22 +0000 (11:14 -0700)
commita91ffa34d47309834074223796343ed208397085
tree12abed4330753c0183e27fea3f23243f2bf85535
parent1cd75cf191d5e3995e22d7bfc573939ffeebcc51
drm/radeon: Fix VRAM size calculation for VRAM >= 4GB

commit fc986034540102cd090237bf3f70262e1ae80d9c upstream.

Add ULL prefix to avoid overflow.

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/radeon/si.c