]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon/kms: fix tv module parameter
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 1 Sep 2010 21:15:06 +0000 (17:15 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Sep 2010 01:29:04 +0000 (11:29 +1000)
commitcf4c12f9a2289e3679722590e1226ae8deb14385
tree3af910211fc9bb85582aa292081e0fcd7b502159
parent0d9958b18e10d7426d94cc3dd024920a40db3ee2
drm/radeon/kms: fix tv module parameter

The tv parameter was added to disable the tv-out connector,
however, it caused a crash if it was set to 0 due to
drm_connector_init not getting called.  If tv=0, don't
attempt to add the connector.

Might fix:
https://bugzilla.kernel.org/show_bug.cgi?id=17241

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c