diff options
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2015-04-28 00:10:16 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-05-19 16:50:52 +0300 |
commit | 8f2590f8e3a7aeeaf2ff5a875684fc6790ae58b5 (patch) | |
tree | cfd15091d62ea34c37fe6ee16ddb537ce8caa177 | |
parent | fac8a5b25f5b7954ba510727caadbd9f7839a958 (diff) | |
download | linux-8f2590f8e3a7aeeaf2ff5a875684fc6790ae58b5.tar.xz |
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: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 1e8ce9ee039b..adb5ec1b51ae 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -393,6 +393,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); |