Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f2590f8 authored by Tobias Jakobi's avatar Tobias Jakobi Committed by Inki Dae
Browse files

drm/exynos: mixer: also allow NV21 for the video processor



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

Signed-off-by: default avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent fac8a5b2
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -393,6 +393,9 @@ static void vp_video_buffer(struct mixer_context *ctx, int win)
	case DRM_FORMAT_NV12:
	case DRM_FORMAT_NV12:
		crcb_mode = false;
		crcb_mode = false;
		break;
		break;
	case DRM_FORMAT_NV21:
		crcb_mode = true;
		break;
	default:
	default:
		DRM_ERROR("pixel format for vp is wrong [%d].\n",
		DRM_ERROR("pixel format for vp is wrong [%d].\n",
				plane->pixel_format);
				plane->pixel_format);