commit | 0f75269492c490e2a44ff4e3d52bbe31f60cfdb9 | [log] [tgz] |
---|---|---|
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | Tue Aug 22 16:19:38 2017 +0200 |
committer | Inki Dae <inki.dae@samsung.com> | Fri Aug 25 12:05:56 2017 +0900 |
tree | 0a7cf44e95e134cc242eacf38e737b8d04fe5a38 | |
parent | f40031c2314a592ff348193704e5f71e9a7e0449 [diff] |
drm/exynos: mixer: simplify vp_video_buffer() DRM core already checks in drm_atomic_plane_check() if the pixelformat is valid. Hence we can drop the default case of the switch statement and collapse most of the code. Also rename the two booleans to reflect what true/false actually means, and to avoid mixing CrCb/NV21 descriptions. No functional change. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>