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: fix typo in function name
Signed-off-by: Christian K?nig
---
drivers/gpu/drm/radeon/radeon_device.c | 60 +++
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: fix typo in function name
Signed-off-by: Christian König
---
drivers/gpu/drm/radeon/radeon_device.c | 60 +++