aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-07 20:28:23 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 02:25:16 -0400
commitde5899bdaccaabfaab894559a7eec3302ae88b52 (patch)
treee440f96e5aad614d872899522721048d3a29e296 /drivers/gpu/drm/nouveau/nouveau_drv.c
parent71d0618661f9dd531caa94ce2ce5dc919321624b (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.c6
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
38MODULE_PARM_DESC(noagp, "Disable AGP"); 38MODULE_PARM_DESC(agpmode, "AGP mode (0 to disable AGP)");
39int nouveau_noagp; 39int nouveau_agpmode = -1;
40module_param_named(noagp, nouveau_noagp, int, 0400); 40module_param_named(agpmode, nouveau_agpmode, int, 0400);
41 41
42MODULE_PARM_DESC(modeset, "Enable kernel modesetting"); 42MODULE_PARM_DESC(modeset, "Enable kernel modesetting");
43static int nouveau_modeset = -1; /* kms */ 43static int nouveau_modeset = -1; /* kms */