linux/drivers/gpu/drm/zte
Shawn Guo 7254b1f91e drm: zte: add .atomic_disable hook to disable graphic layer
There are a few hardware bits for each graphic layer to control main/aux
channel and clock selection, as well as the layer enabling.  These bits
sit outside the layer block itself, but in VOU control glue block.  We
currently set these bits up at CRTC initialization for once, and do not
support disabling the layer.

This patch creates a pair of functions zx_vou_layer_enable[disable] to
be invoked from plane hooks .atomic_update and .atomic_disable to set up
and tear down the layer.  This is generic for both graphic and video
layers, so it will make the overlay plane support to be added later much
easier.

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 drm: zte: checking for NULL instead of IS_ERR() 2016-11-15 11:00:42 +01:00
zx_drm_drv.h
zx_hdmi.c drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_hdmi_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_plane.c drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_plane.h drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_plane_regs.h
zx_vou.c drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_vou.h drm: zte: add .atomic_disable hook to disable graphic layer 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