[PATCH] drm/sun4i: Fix DE2 YVU handling

Maxime Ripard maxime at cerno.tech
Fri Sep 4 05:06:48 EDT 2020


On Wed, Sep 02, 2020 at 12:03:05AM +0200, Jernej Skrabec wrote:
> Function sun8i_vi_layer_get_csc_mode() is supposed to return CSC mode
> but due to inproper return type (bool instead of u32) it returns just 0
> or 1. Colors are wrong for YVU formats because of that.
> 
> Fixes: daab3d0e8e2b ("drm/sun4i: de2: csc_mode in de2 format struct is mostly redundant")
> Reported-by: Roman Stratiienko <r.stratiienko at gmail.com>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>

Applied, thanks!
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200904/bff9f761/attachment.sig>


More information about the linux-arm-kernel mailing list