drm/radeon: set hpd polarity at init time so hotplug detect works
authorJerome Glisse <jglisse@redhat.com>
Fri, 28 Oct 2011 21:52:34 +0000 (17:52 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Nov 2011 16:02:04 +0000 (16:02 +0000)
commit8ab250d4484b72ccc78e34276c5ffa84c1d41303
tree22e7931a83966a094e0650e0848cadf7f7f98594
parentb4f15f808b9a79b6ad9032fa5f6d8b88e1e1bf11
drm/radeon: set hpd polarity at init time so hotplug detect works

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>
drivers/gpu/drm/radeon/radeon_connectors.c