]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fixup bad vram size on SI
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2013 14:24:30 +0000 (09:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2013 00:56:44 +0000 (19:56 -0500)
commit16eb4a00858ac5498baf96b0cf012fe4bffa2bf5
tree40896ccc1c2386304143c42560c9b96c4a6c1899
parente72c37056d608ee5dc3ebf71d4a5285b18124da5
drm/radeon: fixup bad vram size on SI

Some boards seem to have garbage in the upper
16 bits of the vram size register.  Check for
this and clamp the size properly.  Fixes
boards reporting bogus amounts of vram.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/si.c