summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja2012-08-08 10:58:54 +0200
committerArchit Taneja2012-08-13 12:14:39 +0200
commitc499144c3b69a657b5dfd707b35871e066fabd3a (patch)
tree8de519506a07041ee0a2f0f0f8e8d7a8207d042f /include/video
parentOMAPDSS: Displays: Add locking in generic DPI panel driver (diff)
downloadkernel-qcow2-linux-c499144c3b69a657b5dfd707b35871e066fabd3a.tar.gz
kernel-qcow2-linux-c499144c3b69a657b5dfd707b35871e066fabd3a.tar.xz
kernel-qcow2-linux-c499144c3b69a657b5dfd707b35871e066fabd3a.zip
OMAPDSS: DPI: Maintain our own timings field in driver data
The DPI driver currently relies on the timings in omap_dss_device struct to configure the DISPC accordingly. This makes the DPI interface driver dependent on the omap_dss_device struct. Make the DPI driver data maintain it's own timings field. The panel driver is expected to call dpi_set_timings()(renamed to omapdss_dpi_set_timings) to set these timings before the panel is enabled. In the set_timings() op, we still ensure that the omap_dss_device timings (dssdev->panel.timings) are configured. This will later be configured only by the DPI panel drivers. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index a6267a2d292b..be2cb6b7fba5 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -734,8 +734,8 @@ void omapdss_dsi_display_disable(struct omap_dss_device *dssdev,
int omapdss_dpi_display_enable(struct omap_dss_device *dssdev);
void omapdss_dpi_display_disable(struct omap_dss_device *dssdev);
-void dpi_set_timings(struct omap_dss_device *dssdev,
- struct omap_video_timings *timings);
+void omapdss_dpi_set_timings(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
int dpi_check_timings(struct omap_dss_device *dssdev,
struct omap_video_timings *timings);