OMAPDSS: DSI: Maintain copy of video mode timings in driver data
The DSI driver currently relies on the omap_dss_device struct to receive the video mode timings requested by the panel driver. This makes the DSI interface driver dependent on the omap_dss_device struct. Make the DSI driver data maintain it's own video mode timings field. The panel driver is expected to call omapdss_dsi_set_videomode_timings() to configure the video mode timings before the interface is enabled. Signed-off-by: Archit Taneja <archit@ti.com>
This commit is contained in:
@@ -726,6 +726,8 @@ void omapdss_dsi_set_pixel_format(struct omap_dss_device *dssdev,
|
||||
enum omap_dss_dsi_pixel_format fmt);
|
||||
void omapdss_dsi_set_operation_mode(struct omap_dss_device *dssdev,
|
||||
enum omap_dss_dsi_mode mode);
|
||||
void omapdss_dsi_set_videomode_timings(struct omap_dss_device *dssdev,
|
||||
struct omap_dss_dsi_videomode_timings *timings);
|
||||
|
||||
int omap_dsi_update(struct omap_dss_device *dssdev, int channel,
|
||||
void (*callback)(int, void *), void *data);
|
||||
|
Reference in New Issue
Block a user