drm/sun4i: Fix DE2 VI layer format support
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 24 Feb 2020 17:38:57 +0000 (18:38 +0100)
committerJernej Skrabec <jernej.skrabec@siol.net>
Tue, 3 Mar 2020 21:44:29 +0000 (22:44 +0100)
commit20896ef137340e9426cf322606f764452f5eb960
treeb18c626666f93b6a6cf92abd6d76e956fad074f8
parent169ca4b38932112e8b2ee8baef9cea44678625b3
drm/sun4i: Fix DE2 VI layer format support

DE2 VI layer doesn't support blending which means alpha channel is
ignored. Replace all formats with alpha with "don't care" (X) channel.

Fixes: 7480ba4d7571 ("drm/sun4i: Add support for DE2 VI planes")
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200224173901.174016-4-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_mixer.c
drivers/gpu/drm/sun4i/sun8i_vi_layer.c