diff options
author | Archit Taneja <archit@ti.com> | 2012-08-10 05:31:33 -0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 08:30:47 -0400 |
commit | 02c3960b1eeafd5ed30323e1bb86bfa099b46921 (patch) | |
tree | f9c33b9952e6dcef535767fe840031b36b4bd2bc /include/video/omapdss.h | |
parent | 6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5 (diff) |
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/video/omapdss.h')
-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); | |||
722 | void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, | 722 | void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, |
723 | struct omap_video_timings *timings); | 723 | struct omap_video_timings *timings); |
724 | void omapdss_dsi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); | 724 | void omapdss_dsi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); |
725 | void omapdss_dsi_set_pixel_format(struct omap_dss_device *dssdev, | ||
726 | enum omap_dss_dsi_pixel_format fmt); | ||
725 | 727 | ||
726 | int omap_dsi_update(struct omap_dss_device *dssdev, int channel, | 728 | int omap_dsi_update(struct omap_dss_device *dssdev, int channel, |
727 | void (*callback)(int, void *), void *data); | 729 | void (*callback)(int, void *), void *data); |