All the necessary code is already there, just need to
handle the format in the switch statement.

Signed-off-by: Tobias Jakobi <[email protected]>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to