]> git.baikalelectronics.ru Git - kernel.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)
commit6ef4b43e16837b3cb5a119dc929f27cc94e9d90c
tree9ecb013ebca261b142721c0fcb40c0619fd7e878
parente56e5861ec15a5a219a79aece8dbb36e310ea8f1
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