projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac8a5b
)
drm/exynos: mixer: also allow NV21 for the video processor
author
Tobias Jakobi
<tjakobi@math.uni-bielefeld.de>
Mon, 27 Apr 2015 21:10:16 +0000
(23:10 +0200)
committer
Inki Dae
<daeinki@gmail.com>
Tue, 19 May 2015 13:50:52 +0000
(22:50 +0900)
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>
drivers/gpu/drm/exynos/exynos_mixer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_mixer.c
b/drivers/gpu/drm/exynos/exynos_mixer.c
index 1e8ce9ee039bd6f8e7945e29ce5337eeaf5673a4..adb5ec1b51ae76fe7a686a86023263658b8bd8eb 100644
(file)
--- 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);