Skip to content

Commit 9470c29

Browse files
jernejskmripard
authored andcommitted
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: 169ca4b ("drm/sun4i: Add separate DE3 VI layer formats") Signed-off-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6292972 commit 9470c29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/sun4i/sun8i_mixer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@
111111
/* format 13 is semi-planar YUV411 VUVU */
112112
#define SUN8I_MIXER_FBFMT_YUV411 14
113113
/* format 15 doesn't exist */
114-
/* format 16 is P010 YVU */
115-
#define SUN8I_MIXER_FBFMT_P010_YUV 17
116-
/* format 18 is P210 YVU */
117-
#define SUN8I_MIXER_FBFMT_P210_YUV 19
114+
#define SUN8I_MIXER_FBFMT_P010_YUV 16
115+
/* format 17 is P010 YVU */
116+
#define SUN8I_MIXER_FBFMT_P210_YUV 18
117+
/* format 19 is P210 YVU */
118118
/* format 20 is packed YVU444 10-bit */
119119
/* format 21 is packed YUV444 10-bit */
120120

0 commit comments

Comments
 (0)