diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-10-23 21:12:37 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-11-18 04:38:43 (GMT) |
commit | 06ef3e61dd44f76fef89d8e7ad5d6c845f3f345e (patch) | |
tree | c4e5674320fde9ab567abcc20683da8c09ad410d /drivers/gpu/drm | |
parent | 01db363979e96115a895f35c823303660f0f328d (diff) | |
download | linux-fsl-qoriq-06ef3e61dd44f76fef89d8e7ad5d6c845f3f345e.tar.xz |
drm/nouveau: Don't poll LVDS outputs.
Reported-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 9ec2b8a..1dd52db 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -888,10 +888,12 @@ nouveau_connector_create(struct drm_device *dev, int index) nv_connector->use_dithering ? DRM_MODE_DITHERING_ON : DRM_MODE_DITHERING_OFF); - if (dev_priv->card_type >= NV_50) - connector->polled = DRM_CONNECTOR_POLL_HPD; - else - connector->polled = DRM_CONNECTOR_POLL_CONNECT; + if (dcb->type != DCB_CONNECTOR_LVDS) { + if (dev_priv->card_type >= NV_50) + connector->polled = DRM_CONNECTOR_POLL_HPD; + else + connector->polled = DRM_CONNECTOR_POLL_CONNECT; + } break; } |