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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2013 14:44:57 +0000 (10:44 -0400)
commitfc986034540102cd090237bf3f70262e1ae80d9c
tree4698f43fab9c2ba576525c7734cee6e63344e62d
parent6ab7631014d0648e916f674c4bce0518739a2142
drm/radeon: Fix VRAM size calculation for VRAM >= 4GB

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/radeon/si.c