]> Pileus Git - ~andy/linux/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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Sep 2013 15:01:24 +0000 (11:01 -0400)
commit13c5bfdad758bddc199850c22246ddf26adcec1f
tree303d03eb57ec1f5295fb11dca601b67d2e6521d9
parent99d79aa2f3b7729e7290e8bda5d0dd8b0240ec62
drm/radeon/cik: fix overflow in vram fetch

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