summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-08-13 15:26:49 +0530
committerArchit Taneja <archit@ti.com>2012-08-16 18:00:54 +0530
commitb02875be08fd2ca7a195154c9f1c538508ca0d5a (patch)
tree65d9ea0d7f7c0a171e4e89c8ae7c9e10cccb0f79 /include/video
parent02c3960b1eeafd5ed30323e1bb86bfa099b46921 (diff)
downloadop-kernel-dev-b02875be08fd2ca7a195154c9f1c538508ca0d5a.zip
op-kernel-dev-b02875be08fd2ca7a195154c9f1c538508ca0d5a.tar.gz
OMAPDSS: RFBI: Maintain copy of pixel size in driver data
The RFBI driver currently relies on the omap_dss_device struct to receive the desired pixel size of the panel. This makes the RFBI interface driver dependent on the omap_dss_device struct. Make the RFBI driver data maintain it's own pixel format field. A panel driver is expected to call omapdss_rfbi_set_pixel_size() to configure the pixel format before enabling the interface or calling omap_rfbi_configure(). Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index cc7bfb0..d03244a 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -753,8 +753,9 @@ int omapdss_rfbi_display_enable(struct omap_dss_device *dssdev);
void omapdss_rfbi_display_disable(struct omap_dss_device *dssdev);
int omap_rfbi_update(struct omap_dss_device *dssdev, void (*callback)(void *),
void *data);
-int omap_rfbi_configure(struct omap_dss_device *dssdev, int pixel_size,
- int data_lines);
+int omap_rfbi_configure(struct omap_dss_device *dssdev, int data_lines);
void omapdss_rfbi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h);
+void omapdss_rfbi_set_pixel_size(struct omap_dss_device *dssdev,
+ int pixel_size);
#endif
OpenPOWER on IntegriCloud