]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: mediatek: Disable 9-bit alpha in ETHDR
authorHsiao Chien Sung <shawn.sung@mediatek.com>
Wed, 19 Jun 2024 16:50:24 +0000 (00:50 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 27 Jun 2024 10:41:51 +0000 (12:41 +0200)
commit7cc069d9286c21e0acb399da26a181bafdca4d7e
tree6a3a649c3a370b818c2b754178cc7e07bb66a164
parent161ee1eb9ab2440553dac55ada8329de704b1ffd
soc: mediatek: Disable 9-bit alpha in ETHDR

When 9-bit alpha is enabled, its value will be converted from 0-255 to
0-256 (255 = not defined). This is designed for special HDR related
calculation, which should be disabled by default, otherwise, alpha
blending will not work correctly.

Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240620-9bit_alpha-v1-1-13c69daaf29f@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/soc/mediatek/mtk-mmsys.c