]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
OMAPDSS: APPLY: move fifo thresholds to extra_info set
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Nov 2011 12:28:12 +0000 (14:28 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:48 +0000 (08:54 +0200)
commit6dc802e2901d33e02efad3c90bb2034fd20c79e7
treee3c42e863255e73b9d8ba83cb041db851a3ed038
parent5d5a97a6fbf98f82ae50c837eba3ebcfea0902f8
OMAPDSS: APPLY: move fifo thresholds to extra_info set

Setting overlay's fifo thresholds is currently handled at the same time
as other overlay attributes. This is not right, as the normal attributes
should only affect one overlay and manager, but changing the fifo
thresholds are needed in cases like fifo-merge, where multiple managers
are affected.

This patch moves the channel field into the "extra_info" set, handled
together with channel and enabled-status.

This also lets us to calculate the fifos only when needed, specifically,
when an overlay or a manager is enabled.

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