summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.c
diff options
context:
space:
mode:
authorBen Skeggs2010-03-15 00:43:51 +0100
committerBen Skeggs2010-03-15 00:47:00 +0100
commitf4053509669f904aec70c51e2ff75563ba7ae823 (patch)
treead9e422bbf4de8eee264df57795c57cb06e18064 /drivers/gpu/drm/nouveau/nouveau_drv.c
parentdrm/nouveau: Never evict VRAM buffers to system. (diff)
downloadkernel-qcow2-linux-f4053509669f904aec70c51e2ff75563ba7ae823.tar.gz
kernel-qcow2-linux-f4053509669f904aec70c51e2ff75563ba7ae823.tar.xz
kernel-qcow2-linux-f4053509669f904aec70c51e2ff75563ba7ae823.zip
drm/nouveau: add module option to disable TV detection
Intended to be used as a workaround in cases where we falsely detect that a TV is connected when it's not. 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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index 0f7e2d069302..60a709c7f01c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -87,6 +87,10 @@ MODULE_PARM_DESC(override_conntype, "Ignore DCB connector type");
int nouveau_override_conntype = 0;
module_param_named(override_conntype, nouveau_override_conntype, int, 0400);
+MODULE_PARM_DESC(tv_disable, "Disable TV-out detection\n");
+int nouveau_tv_disable = 0;
+module_param_named(tv_disable, nouveau_tv_disable, int, 0400);
+
MODULE_PARM_DESC(tv_norm, "Default TV norm.\n"
"\t\tSupported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,\n"
"\t\t\thd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.\n"