]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2022 12:16:57 +0000 (14:16 +0200)
commit4d3d2e384b227cb2020d760cdddf8ab3a545b4a5
treeda45e57f35beda238d42fd04fb0c9fb249d3fd8a
parent24196210b198e8e39296e277bb93b362aa207775
drm/meson: Correct OSD1 global alpha value

[ Upstream commit 6836829c8ea453c9e3e518e61539e35881c8ed5f ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/meson/meson_plane.c