linux/drivers/gpu/drm/zte
Shawn Guo 98ae9869d1 drm: zte: make zx_plane accessible from zx_vou driver
Move struct zx_plane from zx_plane.c to zx_plane.h, so that it can be
accessed from zx_vou driver, and we can save the use of struct
zx_layer_data completely.  More importantly, those additional data used
by VOU controller to enable/disable graphic and video layers can later
be added and accessed much more easily from zx_vou driver.

While at it, we make two changes to zx_plane_init() interface:

 - Encode struct device pointer in zx_plane, so that we do not need to
   pass it as a parameter.
 - Change return of zx_plane_init() from struct drm_plane pointer to
   error code, since we can get the pointer from zx_plane in zx_vou
   driver now.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
2017-01-28 10:17:40 +08:00
..
Kconfig drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
Makefile
zx_drm_drv.c
zx_drm_drv.h
zx_hdmi_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_hdmi.c drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_plane_regs.h
zx_plane.c drm: zte: make zx_plane accessible from zx_vou driver 2017-01-28 10:17:40 +08:00
zx_plane.h drm: zte: make zx_plane accessible from zx_vou driver 2017-01-28 10:17:40 +08:00
zx_vou_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_vou.c drm: zte: make zx_plane accessible from zx_vou driver 2017-01-28 10:17:40 +08:00
zx_vou.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00