]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: add support for pipeline clock to the framework
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 23 Mar 2016 13:25:58 +0000 (14:25 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 29 Apr 2016 16:04:24 +0000 (01:04 +0900)
commitfbe5d0ad34df1f13a3adef3c076f4ee063716b20
treef6cf06166ef5c4da0b83d12791bb53218a4e325d
parentc05c90b64cedc094a360d9e13e0e7b4e4b9ac2cf
drm/exynos: add support for pipeline clock to the framework

Components belonging to the same pipeline often requires
synchronized clocks. Such clocks are sometimes provided
by external clock controller, but they can be also provided by
pipeline components. In latter case there should be a way
to access them from another component belonging to the same pipeline.
This is the case of:
- DECON,FIMD -> HDMI and HDMI-PHY clock,
- FIMD -> DP and DP clock in FIMD.
The latter case has been solved by clock_enable callback
in exynos_drm_crtc_ops. This solutin will not work with
HDMI path as in this case clock is provided by encoder.

This patch provides more generic solution allowing to register
pipeline clock during initialization in exynos_drm_crtc structure.
This way the clock will be easily accessible from both components.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.h