]> 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)
commitd442cb713e8f3759e04405ece0ead327ada04022
treefbec772699e73a7a731f82f6521412b114e4aeaa
parent785c1e16c513ceb2f05caa447aeeb554c6e692ba
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