diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-10-28 17:52:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:36:53 -0800 |
commit | ff356c22478a5487e2edaaad31f60bc3868c43f5 (patch) | |
tree | 388cd1216621eb34be5d74645a71b35291216c97 /drivers | |
parent | be72d16568ac4058c41baa5fb75ce906d39b9dcd (diff) | |
download | kernel_samsung_aries-ff356c22478a5487e2edaaad31f60bc3868c43f5.zip kernel_samsung_aries-ff356c22478a5487e2edaaad31f60bc3868c43f5.tar.gz kernel_samsung_aries-ff356c22478a5487e2edaaad31f60bc3868c43f5.tar.bz2 |
drm/radeon: set hpd polarity at init time so hotplug detect works
commit 8ab250d4484b72ccc78e34276c5ffa84c1d41303 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 2109c17..ffdff8d 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -1779,6 +1779,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); |