]> 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)
commit55bb3d97637a36376b9b288e785de183ef8a4cc5
treef6cf06166ef5c4da0b83d12791bb53218a4e325d
parentb4eac5944f72f965731aaf91d3991e4a64947efb
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