summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_connectors.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2011-10-28 21:52:34 (GMT)
committerDave Airlie <airlied@redhat.com>2011-11-01 16:02:04 (GMT)
commit8ab250d4484b72ccc78e34276c5ffa84c1d41303 (patch)
tree22e7931a83966a094e0650e0848cadf7f7f98594 /drivers/gpu/drm/radeon/radeon_connectors.c
parentb4f15f808b9a79b6ad9032fa5f6d8b88e1e1bf11 (diff)
downloadlinux-fsl-qoriq-8ab250d4484b72ccc78e34276c5ffa84c1d41303.tar.xz
drm/radeon: set hpd polarity at init time so hotplug detect works
Polarity needs to be set accordingly to connector status (connected or disconnected). Set it up at module init so first hotplug works reliably no matter what is the initial set of connector. Signed-off-by: Jerome Glisse <jglisse@redhat.com> cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_connectors.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_connectors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c
index ff6a2e0..22ee352 100644
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -1790,6 +1790,7 @@ radeon_add_atom_connector(struct drm_device *dev,
connector->polled = DRM_CONNECTOR_POLL_CONNECT;
} else
connector->polled = DRM_CONNECTOR_POLL_HPD;
+ radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd);
connector->display_info.subpixel_order = subpixel_order;
drm_sysfs_connector_add(connector);