[PATCH v2 4/4] drm/exynos: mixer: also allow NV21 for the video processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Tobias Jakobi <tjakobi@xxxxxxxxxxxxxxxxxxxxx>
---
 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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux