diff options
author | Archit Taneja <archit@ti.com> | 2012-08-13 11:42:10 +0200 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-15 12:23:09 +0200 |
commit | 6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5 (patch) | |
tree | 24ed2e8673669b45f158f3e29d4f738bef71bb41 /drivers/video/omap2/displays/panel-n8x0.c | |
parent | OMAPDSS: RFBI: Remove partial update support (diff) | |
download | linux-6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5.tar.xz linux-6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5.zip |
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>
Diffstat (limited to 'drivers/video/omap2/displays/panel-n8x0.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-n8x0.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-n8x0.c b/drivers/video/omap2/displays/panel-n8x0.c index 1d421b5ffae4..839ef84bb3d6 100644 --- a/drivers/video/omap2/displays/panel-n8x0.c +++ b/drivers/video/omap2/displays/panel-n8x0.c @@ -297,6 +297,9 @@ static int n8x0_panel_power_on(struct omap_dss_device *dssdev) goto err_plat_en; } + omapdss_rfbi_set_size(dssdev, dssdev->panel.timings.x_res, + dssdev->panel.timings.y_res); + r = omapdss_rfbi_display_enable(dssdev); if (r) goto err_rfbi_en; |