]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: mixer: remove buffer count handling in vp_video_buffer()
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Mon, 27 Apr 2015 21:10:15 +0000 (23:10 +0200)
committerInki Dae <daeinki@gmail.com>
Tue, 19 May 2015 13:50:52 +0000 (22:50 +0900)
commitd51fea1eaf3c73bcb06f9a8713d2459de1a3b3db
treecba3a6ab7458c8e72d56188d73cb7fe40cdfdcbd
parentdc7721a69639d6de31b2db68424ab367e381e5ea
drm/exynos: mixer: remove buffer count handling in vp_video_buffer()

The video processor (VP) supports four formats: NV12, NV21 and its
tiled variants. All these formats are bi-planar, so the buffer
count in vp_video_buffer() is always 2.

Also properly exit if we're called with an invalid (non-VP) pixelformat.

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