]> 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)
commit9470c29faa91c804aa04de4c10634bf02462bfa5
treed8df8c2383a454cb321b813d5110e5623c8829ab
parent62929726ef0ec72cbbe9440c5d125d4278b99894
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: 169ca4b38932 ("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