]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: meson: venc: set the correct macrovision max amplitude value
authorJulien Masson <jmasson@baylibre.com>
Mon, 24 Jun 2019 14:49:12 +0000 (16:49 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 9 Aug 2019 10:06:14 +0000 (12:06 +0200)
commita84ddb83806ed43a67f6fe6a03b0b4695cc314c3
tree9ecb013ebca261b142721c0fcb40c0619fd7e878
parent0703146060786f972aaa22cad9c877a6067fd47d
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
drivers/gpu/drm/meson/meson_venc.c