]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Add DE2 CSC library
authorJernej Skrabec <jernej.skrabec@siol.net>
Fri, 1 Dec 2017 06:05:46 +0000 (07:05 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 12:22:44 +0000 (13:22 +0100)
commit8830293905504dba3a50bf34287697c5fe088f9b
tree90ba1ced298fc31a17ba871f3616c755948da430
parentbd3bcb9112894bc0fa29ad4b0c4b534932efeab0
drm/sun4i: Add DE2 CSC library

DE2 have many CSC units - channel input CSC, channel output CSC and
mixer output CSC and maybe more.

Fortunately, they have all same register layout, only base offsets
differs.

Add support only for channel output CSC for now.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-24-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/Makefile
drivers/gpu/drm/sun4i/sun8i_csc.c [new file with mode: 0644]
drivers/gpu/drm/sun4i/sun8i_csc.h [new file with mode: 0644]