OMAPDSS: APPLY: Apply writeback configurations
authorArchit Taneja <archit@ti.com>
Mon, 29 Oct 2012 12:29:57 +0000 (17:59 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 7 Nov 2012 14:10:06 +0000 (19:40 +0530)
commit2f73ed1c1dc76c155d37fabbedbf32919a6aaad4
treef0a86560ca6e89de6d01926545fdccfa33968af9
parentf70a3494957042d5a1c8554eeef2d9798fe413bd
OMAPDSS: APPLY: Apply writeback configurations

Add changes in apply to let a user apply writeback configurations. This
basically involves a writeback user to commit the writeback_info it has set
previously.

Only memory to memory mode is supported for now in APPLY. Actual register
writes would only happen when a mem to mem update is initiaited. Therefore,
there isn't a need to support the cases of shadow reigisters being dirty.

Add the following:
- info and info_dirty fields in private data to represent the lower cache of
  writeback info in APPLY.
- Function omap_dss_wb_apply which propogates user_info to info, and an
  equivalent function in wrieback output driver exposed to writeback users.
- Function dss_wb_write_regs to be used by APPLY to configure writeback DISPC
  registers.
- Helper function which tells the mode of writeback.

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