drm/radeon/kms: fix vram base calculation on rs780/rs880
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 3 Dec 2010 19:37:22 +0000 (14:37 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:14 +0000 (13:58 -0800)
commit4fd3a8d6a5211c28594a544923d509b4d1001073
treebcf874b8780aa0ec207c421d5ddcea51628d111b
parentc30dd7eaf76bf7dbefd6b89521b4645992747b64
drm/radeon/kms: fix vram base calculation on rs780/rs880

commit 8961d52d4cc52edf5672f8f2712c57162b736793 upstream.

Avoid overflowing a 32 bit value.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/r600.c