diff options
author | Archit Taneja <archit@ti.com> | 2012-08-10 11:31:33 +0200 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 14:30:47 +0200 |
commit | 02c3960b1eeafd5ed30323e1bb86bfa099b46921 (patch) | |
tree | f9c33b9952e6dcef535767fe840031b36b4bd2bc /include | |
parent | OMAPDSS: RFBI: Add function to set panel size (diff) | |
download | linux-02c3960b1eeafd5ed30323e1bb86bfa099b46921.tar.xz linux-02c3960b1eeafd5ed30323e1bb86bfa099b46921.zip |
OMAPDSS: DSI: Maintain copy of pixel format in driver data
The DSI driver currently relies on the omap_dss_device struct to receive the
desired pixel format of the panel. This makes the DSI interface driver dependent
on the omap_dss_device struct.
Make the DSI driver data maintain it's own pixel format field. The panel driver
is expected to call omapdss_dsi_set_pixel_format() to configure the pixel format
before the interface is enabled.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/omapdss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index ea7d59835905..cc7bfb05dcad 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -722,6 +722,8 @@ int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings); void omapdss_dsi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); +void omapdss_dsi_set_pixel_format(struct omap_dss_device *dssdev, + enum omap_dss_dsi_pixel_format fmt); int omap_dsi_update(struct omap_dss_device *dssdev, int channel, void (*callback)(int, void *), void *data); |