summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 150d8b6)
raw | patch | inline | side by side (parent: 150d8b6)
author | Muralidhar Dixit <murali.dixit@ti.com> | |
Mon, 1 Apr 2013 20:23:19 +0000 (15:23 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:41:43 +0000 (17:41 -0500) |
Enable HDMI support in DSSCOMP driver. HDMI related
code was put under compile flag during dsscomp porting.
Removing the flag to have HDMI working.
Change-Id: I9c7d860de5e8f8a66307a6aeaed0c97f7cda6048
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
code was put under compile flag during dsscomp porting.
Removing the flag to have HDMI working.
Change-Id: I9c7d860de5e8f8a66307a6aeaed0c97f7cda6048
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/device.c | patch | blob | history | |
include/video/omapdss.h | patch | blob | history |
index 00d680669e4a53e26a788b387bfbfb8def1a403f..18f009372a63f7af81dcc5c1d46bcf7f44eef87d 100755 (executable)
#include <linux/debugfs.h>
+
static DECLARE_WAIT_QUEUE_HEAD(waitq);
static DEFINE_MUTEX(wait_mtx);
bool alpha_only = true;
}
dis->mgr.ix = dis->ix;
-#ifdef HDMI_ENABLED
if (dev->driver && dis->modedb_len && dev->driver->get_modedb)
dis->modedb_len = dev->driver->get_modedb(dev,
(struct fb_videomode *)dis->modedb, dis->modedb_len);
-#endif
return 0;
}
if (!dev)
return -EINVAL;
-#ifdef HDMI_ENABLED
if (dev->driver->set_mode)
return dev->driver->set_mode(dev,
(struct fb_videomode *)&dis->mode);
else
-#endif
return 0;
}
index 6c398a47255e5f8634258aeaa744d5cf892defc9..d07e22185aa2eec5eb0a82b08cd935e283fe4c69 100755 (executable)
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
u32 (*get_wss)(struct omap_dss_device *dssdev);
+ int (*get_modedb)(struct omap_dss_device *dssdev,
+ struct fb_videomode *modedb,
+ int modedb_len);
+ int (*set_mode)(struct omap_dss_device *dssdev,
+ struct fb_videomode *mode);
+
int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
bool (*detect)(struct omap_dss_device *dssdev);