]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: APPLY: Add manager timings as extra_info in private data
authorArchit Taneja <archit@ti.com>
Thu, 26 Apr 2012 14:01:22 +0000 (19:31 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:06 +0000 (13:44 +0300)
commit7312735fb84074174c8d9274429ea8327fc761f4
tree267fbbeb378426dede1dad5b5e64cdd58996d2ed
parentc4b53896213d9cee9080f2d9e4580c91c8c8544e
OMAPDSS: APPLY: Add manager timings as extra_info in private data

DISPC manager size and DISPC manager blanking parameters(for LCD managers)
follow the shadow register programming model. Currently, they are programmed
directly by the interface drivers.

To configure manager timings using APPLY, there is a need to introduce extra
info flags for managers, similar to what is done for overlays. This is needed
because timings aren't a part of overlay_manager_info struct configured by a
user of DSS, they are configured internally by the interface or panel drivers.

Add dirty and shadow_dirty extra_info flags for managers, update these flags
at the appropriate places. Rewrite the function extra_info_update_ongoing()
slightly as checking for manager's extra_info flags can simplify the code a bit.

Create function dss_mgr_set_timings() which applies the new manager timings to
extra_info.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dss.h