]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: frontend: Determine input mode based on the number of planes
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 23 Nov 2018 09:24:51 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 08:55:16 +0000 (09:55 +0100)
commit0a4f72680d4d8a5252dee02c16862e6e5fb60907
treefbec772699e73a7a731f82f6521412b114e4aeaa
parentd57ce8b2b1c7eff4499965eb14a830afc4e3d017
drm/sun4i: frontend: Determine input mode based on the number of planes

Use the number of planes associated with the DRM format to determine the
input mode configuration instead of the format iteself. This way, the
helper can be used for all packed formats without future changes.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181123092515.2511-20-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c