]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: mixer: Fix P010 and P210 format numbers
authorJernej Skrabec <jernej.skrabec@gmail.com>
Mon, 28 Feb 2022 18:14:36 +0000 (19:14 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 8 Mar 2022 10:54:50 +0000 (11:54 +0100)
commitf725fde2036366673e5c404248d3dbd5dfa28db5
treed8df8c2383a454cb321b813d5110e5623c8829ab
parentac3c3b784525cce2140e3d14c193bdcf8936a87a
drm/sun4i: mixer: Fix P010 and P210 format numbers

It turns out that DE3 manual has inverted YUV and YVU format numbers for
P010 and P210. Invert them.

This was tested by playing video decoded to P010 and additionally
confirmed by looking at BSP driver source.

Fixes: 3f4f7cdf2990 ("drm/sun4i: Add separate DE3 VI layer formats")
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220228181436.1424550-1-jernej.skrabec@gmail.com
drivers/gpu/drm/sun4i/sun8i_mixer.h