]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: frontend: Add proper definitions for format registers
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 23 Nov 2018 09:24:50 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 08:54:13 +0000 (09:54 +0100)
commit785c1e16c513ceb2f05caa447aeeb554c6e692ba
tree7d3b9101b11eae580ca391b46fb7dae03e8751c8
parente2a72715c6942c9330d02481682a53d9bd4af31b
drm/sun4i: frontend: Add proper definitions for format registers

This introduces proper definitions for the input and output format
configuration registers instead of a macro and raw values in the code,
with the intent to increase code readability and reduce indirections.

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-19-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c
drivers/gpu/drm/sun4i/sun4i_frontend.h