]> git.itanic.dy.fi Git - linux-stable/commit
drm/meson: Correct OSD1 global alpha value
authorStuart Menefy <stuart.menefy@mathembedded.com>
Thu, 8 Sep 2022 15:51:03 +0000 (16:51 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 9 Sep 2022 11:33:44 +0000 (13:33 +0200)
commit6836829c8ea453c9e3e518e61539e35881c8ed5f
treeb565739432ca65ac0b584bede667bd9d7e949269
parent8f7115c1923cd11146525f1615beb29018001964
drm/meson: Correct OSD1 global alpha value

VIU_OSD1_CTRL_STAT.GLOBAL_ALPHA is a 9 bit field, so the maximum
value is 0x100 not 0xff.

This matches the vendor kernel.

Signed-off-by: Stuart Menefy <stuart.menefy@mathembedded.com>
Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller")
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908155103.686904-1-stuart.menefy@mathembedded.com
drivers/gpu/drm/meson/meson_plane.c