]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: set HPD polarity in hpd_init()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Nov 2011 15:21:39 +0000 (11:21 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Nov 2011 17:53:18 +0000 (17:53 +0000)
commit27b8fd13aeaebcdf21568024af47b31d5986e604
tree0025b6451825a0400c4f15df7e448dafeccb996f
parent90b7a841596e59d23a4bcb97bc9899cbdc2b8a1f
drm/radeon/kms: set HPD polarity in hpd_init()

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>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
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