diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-09-07 20:28:23 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:25:16 -0400 |
commit | de5899bdaccaabfaab894559a7eec3302ae88b52 (patch) | |
tree | e440f96e5aad614d872899522721048d3a29e296 /drivers/gpu/drm/nouveau/nouveau_drv.c | |
parent | 71d0618661f9dd531caa94ce2ce5dc919321624b (diff) |
drm/nouveau: Add module parameter to override the default AGP rate.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index 209912a1b7a5..14a4960a989a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c | |||
@@ -35,9 +35,9 @@ | |||
35 | 35 | ||
36 | #include "drm_pciids.h" | 36 | #include "drm_pciids.h" |
37 | 37 | ||
38 | MODULE_PARM_DESC(noagp, "Disable AGP"); | 38 | MODULE_PARM_DESC(agpmode, "AGP mode (0 to disable AGP)"); |
39 | int nouveau_noagp; | 39 | int nouveau_agpmode = -1; |
40 | module_param_named(noagp, nouveau_noagp, int, 0400); | 40 | module_param_named(agpmode, nouveau_agpmode, int, 0400); |
41 | 41 | ||
42 | MODULE_PARM_DESC(modeset, "Enable kernel modesetting"); | 42 | MODULE_PARM_DESC(modeset, "Enable kernel modesetting"); |
43 | static int nouveau_modeset = -1; /* kms */ | 43 | static int nouveau_modeset = -1; /* kms */ |