gpu: drm: exynos: Notify the plugged state while probing 05/157305/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20171101.064815 accepted/tizen/unified/20171031.055643 submit/tizen/20171031.014243 submit/tizen_4.0/20171101.031710 tizen_4.0.IoT.p2_release
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 23 Oct 2017 00:47:19 +0000 (09:47 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 24 Oct 2017 06:42:46 +0000 (15:42 +0900)
commitad265f50eb4621de76a13be7d520ea9a1689a417
tree841c305b1cc09af9881552f30a3e248948b136f4
parent13f2ed4724423ea01b65de35fc023ec68b1ee5a0
gpu: drm: exynos: Notify the plugged state while probing

Since commit 38b49e08, hdmi driver can notify the connection state
via extcon framework. However, if hdmi cable is already connected
before the system boot, there is no interrupt for hdmi connection,
and thus it cannot be informed to userspace. To prevent the situation
that cable is connected, but uninformed in userspace, this patch
makes hdmi driver check the plugged state and notifies it explicitly
at probing.

Change-Id: I432f30df4effef27c7f393a4659c02cc035d5e6d
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c