diff options
author | Christian König <deathsimple@vodafone.de> | 2012-10-23 15:53:16 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-24 11:41:11 -0400 |
commit | 1bcb04f758c7d3ab9a454525c004bdb8c0fccd98 (patch) | |
tree | 36e7e1e7cdaf518f2a8a9eccc992bf52f518c9c5 /drivers/sh | |
parent | 08eda32b13c045b6219464764d6028d86d3c58a8 (diff) | |
download | linux-1bcb04f758c7d3ab9a454525c004bdb8c0fccd98.tar.bz2 |
drm/radeon: fix and simplify pot argument checks v3
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
v2: also fix radeon_vram_limit usage, and simplify test even more.
v3: agd5f: fix spelling as noticed by Klaus Schnass
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions