OMAPDSS: APPLY: Add get/set info functions for writeback
authorArchit Taneja <archit@ti.com>
Wed, 7 Nov 2012 14:09:03 +0000 (19:39 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 7 Nov 2012 14:09:03 +0000 (19:39 +0530)
commitf70a3494957042d5a1c8554eeef2d9798fe413bd
tree4d2f7e1d1a510189ee887f6ff6101a5f42fa1551
parentc59d3dacfdabcbafe87e9600dc0c01e95b133a5e
OMAPDSS: APPLY: Add get/set info functions for writeback

Writeback contains overlay-like parameters which need to be applied by a user
of writeback.

Create functions in APPLY which get and set user_info of type
omap_dss_writeback_info, these are similar to overlay's dss_ovl_get_info and
dss_ovl_set_info ops. The writeback output driver provides equivalent functions
for a writeback user, these finally call the above APPLY functions.

Add a private data struct for writeback which stores the user_info and it's
state. This struct will be later added with more params to represent the other
levels of the APPLY cache. Add a helper function to retrieve the private data.

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