Skip to content

Commit

Permalink
drm/radeon: set hpd polarity at init time so hotplug detect works
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Nov 1, 2011
1 parent b4f15f8 commit 8ab250d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/radeon_connectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ab250d

Please sign in to comment.