drm/bridge/sii8620: Send AVI infoframe in all MHL versions
authorMaciej Purski <m.purski@samsung.com>
Thu, 28 Jun 2018 16:44:01 +0000 (18:44 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 4 Jul 2018 14:27:49 +0000 (16:27 +0200)
commitf0139752f71b05c918d86101643eb00b312ab883
treef2d442a14a054d360454971a0aa81fdeb091002c
parent718b5406cd76f1aa6434311241b7febf0e8571ff
drm/bridge/sii8620: Send AVI infoframe in all MHL versions

Currently AVI infoframe is sent only in MHL3. However, some MHL2 dongles
need AVI infoframe to work correctly in either packed pixel mode or
non-packed pixel mode.

Send AVI infoframe in set_infoframes() in every case. Create an
infoframe using drm_hdmi_infoframe_from_display_mode() instead of
manually filling each infoframe structure's field.

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/1530204243-6370-2-git-send-email-m.purski@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c