linux/drivers/gpu/drm/sun4i
Chen-Yu Tsai da3a1c30dc drm/sun4i: backend: Fetch backend ID from device tree
Some Allwinner SoCs have 2 display pipelines, as in 2 of each
components, including the frontend, backend, TCON, and any other
extras.

As the backend and TCON are always paired together and form the CRTC,
we need to know which backend or TCON we are currently probing, so we
can pair them when initializing the CRTC.

This patch figures out the backend's ID from the device tree and stores
it in the backend's data structure. It does this by looking at the "reg"
property of any remote endpoints connected to the backend's input port.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-05-14 08:27:41 +02:00
..
Kconfig drm/sun4i: add COMMON_CLK dependency 2016-05-30 08:28:33 +02:00
Makefile drm/sun4i: Initialize crtc from tcon bind function 2017-03-07 22:18:23 +01:00
sun4i_backend.c drm/sun4i: backend: Fetch backend ID from device tree 2017-05-14 08:27:41 +02:00
sun4i_backend.h drm/sun4i: backend: Fetch backend ID from device tree 2017-05-14 08:27:41 +02:00
sun4i_crtc.c drm/sun4i: Pass pointer for underlying backend into layer init 2017-03-09 11:22:22 +01:00
sun4i_crtc.h drm/sun4i: Pass pointers for associated backend and tcon into crtc init 2017-03-09 11:21:52 +01:00
sun4i_dotclock.c drm/sun4i: dotclock: Round to closest clock rate 2016-09-20 09:19:31 +02:00
sun4i_dotclock.h
sun4i_drv.c drm/sun4i: Use lists to track registered display backends and TCONs 2017-05-14 08:27:41 +02:00
sun4i_drv.h drm/sun4i: Use lists to track registered display backends and TCONs 2017-05-14 08:27:41 +02:00
sun4i_framebuffer.c drm/sun4i: Move drm_mode_config_cleanup call to main driver 2017-03-07 22:15:14 +01:00
sun4i_framebuffer.h
sun4i_layer.c drm/sun4i: Pass pointer for underlying backend into layer init 2017-03-09 11:22:22 +01:00
sun4i_layer.h drm/sun4i: Pass pointer for underlying backend into layer init 2017-03-09 11:22:22 +01:00
sun4i_rgb.c Allwinner DRM changes for 4.12 2017-04-20 13:19:34 +10:00
sun4i_rgb.h drm/sun4i: rgb: Pass tcon pointer when initializing RGB encoder 2017-03-07 22:18:24 +01:00
sun4i_tcon.c drm/sun4i: Use lists to track registered display backends and TCONs 2017-05-14 08:27:41 +02:00
sun4i_tcon.h drm/sun4i: Use lists to track registered display backends and TCONs 2017-05-14 08:27:41 +02:00
sun4i_tv.c drm/sun4i: tv: Get tcon and backend pointers from associated crtc 2017-03-09 11:19:59 +01:00
sun6i_drc.c Merge tag 'drm-misc-next-2016-11-16' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2016-11-17 08:02:46 +10:00