]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAPDSS: remove dispc's dependency to VENC/HDMI
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 May 2013 07:44:13 +0000 (10:44 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:55 +0000 (14:00 +0300)
commit5391e87d1259e45fbb153aad97fe21a41403b534
tree0b0a144fade93e13d90bda00964b44dce48fc20f
parent94954fcb8030cd5545dcfc5b8c94fa224e20985d
OMAPDSS: remove dispc's dependency to VENC/HDMI

DISPC needs to know the clock rate for DIGIT (i.e. TV) channel, and this
clock is provided by either VENC or HDMI modules. Currently DISPC will
call a function in VENC/HDMI, asking what the clock rate is. This means
we have a fixed dependency from DISPC to both VENC and HDMI.

To have a more generic approach, and in particular to allow adding OMAP5
HDMI driver, we need to remove this dependency. This patch makes
VENC/HDMI inform DISPC when the their clock changes, thus reversing the
dependency and removing the issue.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/venc.c