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)
commitfac8a5b25f5b7954ba510727caadbd9f7839a958
treecba3a6ab7458c8e72d56188d73cb7fe40cdfdcbd
parent5d878bdb51bd7915ba3def8b531238c67624aa58
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