diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-01-20 09:52:20 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-02-07 07:52:50 +0300 |
commit | 10abdbc5eeec964d0534f6ace94624a5fae64233 (patch) | |
tree | 9558fe257448b4b7ae56aeda88bd83f249a43863 /drivers/gpu/drm/exynos/exynos_hdmi.c | |
parent | 648225880264fde99eba8e57f6ac81801be1405d (diff) | |
download | linux-10abdbc5eeec964d0534f6ace94624a5fae64233.tar.xz |
drm/exynos/hdmi: fix VSI infoframe registers
VSI infoframe registers address space is non-contiguous, so infoframe write
should be split into two chunks.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index bef8965c9f53..223b872f461b 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -797,7 +797,8 @@ static void hdmi_reg_infoframes(struct hdmi_context *hdata) sizeof(buf)); if (ret > 0) { hdmi_reg_writeb(hdata, HDMI_VSI_CON, HDMI_VSI_CON_EVERY_VSYNC); - hdmi_reg_write_buf(hdata, HDMI_VSI_HEADER0, buf, ret); + hdmi_reg_write_buf(hdata, HDMI_VSI_HEADER0, buf, 3); + hdmi_reg_write_buf(hdata, HDMI_VSI_DATA(0), buf + 3, ret - 3); } ret = hdmi_audio_infoframe_init(&frm.audio); |