commit | 1bcb04f758c7d3ab9a454525c004bdb8c0fccd98 | [log] [tgz] |
---|---|---|
author | Christian König <deathsimple@vodafone.de> | Tue Oct 23 15:53:16 2012 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Oct 24 11:41:11 2012 -0400 |
tree | 36e7e1e7cdaf518f2a8a9eccc992bf52f518c9c5 | |
parent | 08eda32b13c045b6219464764d6028d86d3c58a8 [diff] |
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>