On Fri, Oct 28, 2011 at 5:52 PM, <j.glisse@xxxxxxxxx> wrote: > From: Jerome Glisse <jglisse@xxxxxxxxxx> > > 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@xxxxxxxxxx> > cc: stable@xxxxxxxxxx Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/radeon/radeon_connectors.c | 1 + > 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 dec6cbe..bfdd48b 100644 > --- a/drivers/gpu/drm/radeon/radeon_connectors.c > +++ b/drivers/gpu/drm/radeon/radeon_connectors.c > @@ -1789,6 +1789,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); > -- > 1.7.6.4 > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel