drm/radeon/kms: Check module arguments to be valid V2
authorJerome Glisse <jglisse@redhat.com>
Fri, 11 Dec 2009 20:18:34 +0000 (21:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 01:14:05 +0000 (11:14 +1000)
This patch add a function which check module argument to be
valid. On invalid argument it prints a warning and setback
the default value.

V2: Allow 0 for vram limit & agp mode which are the default
value

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found