Icenowy Zheng 8796933843 drm/sun4i: abstract a engine type
As we are going to add support for the Allwinner DE2 engine in sun4i-drm
driver, we will finally have two types of display engines -- the DE1
backend and the DE2 mixer. They both do some display blending and feed
graphics data to TCON, and is part of the "Display Engine" called by
Allwinner, so I choose to call them both "engine" here.

Abstract the engine type to a new struct with an ops struct, which contains
functions that should be called outside the engine-specified code (in
TCON, CRTC or TV Encoder code).

In order to preserve bisectability, we also switch the backend and layer
code in its own module.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-06-01 09:47:23 +02:00
..
2017-04-04 23:33:42 -04:00
2017-05-05 17:34:57 -07:00
2017-05-08 17:15:14 -07:00
2017-02-27 18:43:47 -08:00
2017-04-13 06:17:40 +10:00
2017-04-04 23:33:42 -04:00
2017-05-05 17:34:57 -07:00
2017-06-01 09:47:23 +02:00
2017-05-05 11:47:01 +10:00
2017-05-03 11:44:24 -07:00
2017-04-11 07:40:42 +10:00
2017-03-24 09:36:06 +01:00
2017-02-23 12:10:12 +10:00
2017-03-14 14:38:34 +01:00
2017-03-24 09:36:06 +01:00
2017-04-04 20:47:54 +02:00
2017-02-28 16:14:53 +01:00
2017-03-09 16:18:02 +01:00
2017-03-14 14:38:33 +01:00
2017-03-21 10:15:39 +02:00