[PATCH v2 4/4] drm/exynos: mixer: also allow NV21 for the video processor
Tobias Jakobi
tjakobi at math.uni-bielefeld.de
Mon Apr 27 14:10:16 PDT 2015
All the necessary code is already there, just need to
handle the format in the switch statement.
Signed-off-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
---
drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index 970b293..1bcbcfd 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -399,6 +399,9 @@ static void vp_video_buffer(struct mixer_context *ctx, int win)
case DRM_FORMAT_NV12:
crcb_mode = false;
break;
+ case DRM_FORMAT_NV21:
+ crcb_mode = true;
+ break;
default:
DRM_ERROR("pixel format for vp is wrong [%d].\n",
plane->pixel_format);
--
2.0.5
More information about the dri-devel
mailing list