Skip to content

Commit 6af5ee8

Browse files
Jerome Glissegregkh
authored andcommitted
drm/radeon: set hpd polarity at init time so hotplug detect works
commit 8ab250d upstream. 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> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent e04f9bf commit 6af5ee8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/radeon/radeon_connectors.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,7 @@ radeon_add_atom_connector(struct drm_device *dev,
17901790
connector->polled = DRM_CONNECTOR_POLL_CONNECT;
17911791
} else
17921792
connector->polled = DRM_CONNECTOR_POLL_HPD;
1793+
radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd);
17931794

17941795
connector->display_info.subpixel_order = subpixel_order;
17951796
drm_sysfs_connector_add(connector);

0 commit comments

Comments
 (0)