OSDN Git Service

drm/bridge/sii8620: add DVI mode support
authorMaciej Purski <m.purski@samsung.com>
Thu, 9 Nov 2017 10:53:42 +0000 (11:53 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Thu, 16 Nov 2017 12:48:21 +0000 (13:48 +0100)
commit5c632e22c2e9aa45bcf3dc2ee85594dae3781145
tree3fa6ba9478591138b51da4299e9567e858198c80
parente7c2e4d368e2efc8789b65d141fb633ebb163a70
drm/bridge/sii8620: add DVI mode support

If the sink device is in HDMI mode, enable infoframe interrupt in scdt
irq handle function else call start_video function immediately, because
in DVI mode, there is no infoframe interrupt provided.

Rename start_hdmi function to start_video and get rid of the old
start_video function. In start_video, if the sink is DVI and mode is
MHL1 or MHl2, write appropriate values to registers else the path
should remain the same as in HDMI mode.

Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510224822-7732-1-git-send-email-m.purski@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c