]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: mixer: simplify mixer_graph_buffer()
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Tue, 22 Aug 2017 14:19:39 +0000 (16:19 +0200)
committerInki Dae <inki.dae@samsung.com>
Fri, 25 Aug 2017 03:07:11 +0000 (12:07 +0900)
commit81f57bf886e037e86ef79ca951cb1ee9f362ee52
tree5e45baddf12396a211b91eeafac2a5b0b0a4aa37
parentff5d4c99a4a94cc28e790f5a3ea797ce51cee05b
drm/exynos: mixer: simplify mixer_graph_buffer()

DRM core already checks in drm_atomic_plane_check() if the
pixelformat is valid. Hence we can collapse the default case
of the switch statement with the XRGB8888 case.

No functional change.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c