drm/radeon/kms: set HPD polarity in hpd_init()
commit29ac4c3a5cc34c3fa5a44cdba3be3fd606cac748
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Nov 2011 15:21:39 +0000 (3 11:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:09 +0000 (11 09:44 -0800)
treec0d69870e8c715b07ba362286bf538efbc020282
parent55fe133c7286a789ad5eb3f1afca27c2348fddd5
drm/radeon/kms: set HPD polarity in hpd_init()

commit 64912e997f0fe13512e4c7b90e4f7c11cb922ab5 upstream.

Polarity needs to be set accordingly to connector status (connected
or disconnected). Set it up in hpd_init() so first hotplug works
reliably no matter what is the initial set of connector. hpd_init()
also covers resume so HPD will work correctly after resume as well.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jerome Glisse <j.glisse@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/rs600.c