OMAPDSS: RFBI: Add function to set panel size
authorArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 09:42:10 +0000 (15:12 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 15 Aug 2012 10:23:09 +0000 (15:53 +0530)
commit6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5
tree24ed2e8673669b45f158f3e29d4f738bef71bb41
parent43eab86167a0893e0e1102d4a5a1d95dfe442f8d
OMAPDSS: RFBI: Add function to set panel size

RFBI drivers requires configuration of the update area. Since we don't support
partial updates, the size to be configures is the panel size itself.

Add a timings field in RFBI's driver data. Apart from x_res and y_res, all the
other fields are configured to an initial value when RFBI is enabled. A panel
driver is expected to call omapdss_rfbi_set_size() configure the size of the
panel.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-n8x0.c
drivers/video/omap2/dss/rfbi.c
include/video/omapdss.h