]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9579f9190487cc99ac280beda5da8ba7c3414b92
tree7d3b9101b11eae580ca391b46fb7dae03e8751c8
parent47d0f9bdb190eccbd2d9f9b6a585ae64e48f8183
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