Re: [PATCH] drm/radeon/kms: Check module arguments to be valid

2009-12-10 Thread Jerome Glisse
On Thu, Dec 10, 2009 at 02:01:11PM +1000, Dave Airlie wrote: > On Thu, Dec 10, 2009 at 3:35 AM, Jerome Glisse wrote: > > This patch add a function which check module argument to be > > valid. On invalid argument it prints a warning and setback > > the default value. > > This seems to screw up her

Re: [PATCH] drm/radeon/kms: Check module arguments to be valid

2009-12-09 Thread Dave Airlie
On Thu, Dec 10, 2009 at 3:35 AM, Jerome Glisse wrote: > This patch add a function which check module argument to be > valid. On invalid argument it prints a warning and setback > the default value. This seems to screw up here and prints radeon :06:00.0: vram limit (0) must be a power of 2 ra

[PATCH] drm/radeon/kms: Check module arguments to be valid

2009-12-09 Thread Jerome Glisse
This patch add a function which check module argument to be valid. On invalid argument it prints a warning and setback the default value. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon_device.c | 66 +-- 1 files changed, 61 insertions(+), 5 deletions