diff options
author | Andy Green <andy.green@linaro.org> | 2011-06-17 09:21:58 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-17 09:21:58 +0100 |
commit | 310fa5452c2411d9c0750243f8d0af91b7cb2d90 (patch) | |
tree | fd14c07c844f1af6218026c293a3e86490d9aed8 /drivers/video/omap2/dss/hdmi_omap4_panel.c | |
parent | 2b891d083ae87e093c0039a56a03c29f2947c2a5 (diff) |
sgx debug drm modesettingandroid-2.6.38-2011-06
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi_omap4_panel.c')
-rw-r--r-- | drivers/video/omap2/dss/hdmi_omap4_panel.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/hdmi_omap4_panel.c b/drivers/video/omap2/dss/hdmi_omap4_panel.c index cae04d12e12..8ee7d2e5357 100644 --- a/drivers/video/omap2/dss/hdmi_omap4_panel.c +++ b/drivers/video/omap2/dss/hdmi_omap4_panel.c @@ -32,6 +32,8 @@ static struct { struct mutex hdmi_lock; } hdmi; +#undef DSSDBG +#define DSSDBG pr_err static int hdmi_panel_probe(struct omap_dss_device *dssdev) { @@ -143,11 +145,14 @@ err: return r; } -static bool hdmi_panel_is_detected(struct omap_dss_device *dssdev, bool force) +bool hdmi_panel_is_detected(struct omap_dss_device *dssdev, bool force) { + pr_err("hdmi_panel_is_detected, force=%d\n", force); return omapdss_hdmi_is_detected(dssdev, force); } +EXPORT_SYMBOL_GPL(hdmi_panel_is_detected); + static int hdmi_get_edid(struct omap_dss_device *dssdev, u8 *buf, int len) { return omapdss_hdmi_get_edid(dssdev, buf, len); @@ -163,7 +168,7 @@ static void hdmi_get_timings(struct omap_dss_device *dssdev, mutex_unlock(&hdmi.hdmi_lock); } -static void hdmi_set_timings(struct omap_dss_device *dssdev, +void hdmi_set_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings) { DSSDBG("hdmi_set_timings\n"); @@ -180,6 +185,8 @@ static void hdmi_set_timings(struct omap_dss_device *dssdev, mutex_unlock(&hdmi.hdmi_lock); } +EXPORT_SYMBOL_GPL(hdmi_set_timings); + static int hdmi_check_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings) |