[PATCH] drm/sun4i: Fix DE2 YVU handling

Maxime Ripard maxime at cerno.tech
Fri Sep 4 09:06:48 UTC 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: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200904/bff9f761/attachment-0001.sig>


More information about the dri-devel mailing list