]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon/cik: fix overflow in vram fetch
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Sep 2013 14:56:55 +0000 (10:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:17:57 +0000 (07:17 -0700)
commit0d29db3e83d8ee2a84ffd93c2dfc28fcc42cd851
tree0e6ec89d7079f833233c1be1411ba27a0cde1340
parent5b1f6871463a38198bf157bf386cc73f7586af4c
drm/radeon/cik: fix overflow in vram fetch

commit 13c5bfdad758bddc199850c22246ddf26adcec1f upstream.

Missing ULL when calculating the amount of vram
leads to an overflow when the amount of vram is >= 4G.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/cik.c