drm/exynos: Add drm notification of hotplug to dp
authorSean Paul <seanpaul@chromium.org>
Tue, 20 Nov 2012 15:55:18 +0000 (10:55 -0500)
committerGerrit <chrome-bot@google.com>
Tue, 20 Nov 2012 22:47:00 +0000 (14:47 -0800)
commita6715d8d825151247cb91ae85fdc89afd5bfc18d
tree8472fac411e4b3711fc03c21ba8c7758fe2dc98f
parent45d6cfa44f318bfede6f6e54e3c1a64ab4bb5828
drm/exynos: Add drm notification of hotplug to dp

Instead of polling the connector for hotplug, use the hotplug workqueue
to fire a drm hotplug notification when we detect a cable change.

This will also update userspace when the state has changed, and notify
fbdev.

At this point in time, the patch should be a no-op, but it's important
if we want to use EDID to mode set.

BUG=chrome-os-partner:11158
TEST=Tested on snow, no regressions detected

Change-Id: Ib6b0c789f6abc45a118a04dcb8a73e8e35fd4a85
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/38408
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_drm_connector.c