Skip to content

Commit a84ddb8

Browse files
massonjusuperna9999
authored andcommitted
drm: meson: venc: set the correct macrovision max amplitude value
According to the register description of ENCI_MACV_MAX_AMP, the macrovision max amplitude value should be: - hdmi 480i => 0xb - hdmi 576i => 0x7 The max value is 0x7ff (10 bits). Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86mui782dt.fsf@baylibre.com
1 parent 0703146 commit a84ddb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/gpu/drm/meson/meson_venc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ union meson_hdmi_venc_mode meson_hdmi_enci_mode_480i = {
192192
.hso_end = 129,
193193
.vso_even = 3,
194194
.vso_odd = 260,
195-
.macv_max_amp = 0x810b,
195+
.macv_max_amp = 0xb,
196196
.video_prog_mode = 0xf0,
197197
.video_mode = 0x8,
198198
.sch_adjust = 0x20,
@@ -212,7 +212,7 @@ union meson_hdmi_venc_mode meson_hdmi_enci_mode_576i = {
212212
.hso_end = 129,
213213
.vso_even = 3,
214214
.vso_odd = 260,
215-
.macv_max_amp = 8107,
215+
.macv_max_amp = 0x7,
216216
.video_prog_mode = 0xff,
217217
.video_mode = 0x13,
218218
.sch_adjust = 0x28,

0 commit comments

Comments
 (0)