Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1353219 > unrolled thread
| Started by | Sebastian Reichel <sre@kernel.org> |
|---|---|
| First post | 2016-03-08 18:00 +0100 |
| Last post | 2016-03-08 18:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 09/23] drm: omapdrm: dss: method to get stallmode from lcd config Sebastian Reichel <sre@kernel.org> - 2016-03-08 18:00 +0100
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2016-03-08 18:00 +0100 |
| Subject | [PATCH 09/23] drm: omapdrm: dss: method to get stallmode from lcd config |
| Message-ID | <rat9g-3s9-31@gated-at.bofh.it> |
Introduce a new dss method for reading the stallmode
status from the private lcd config structure.
Signed-off-By: Sebastian Reichel <sre@kernel.org>
---
drivers/gpu/drm/omapdrm/dss/output.c | 6 ++++++
include/video/omapdss.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/omapdrm/dss/output.c b/drivers/gpu/drm/omapdrm/dss/output.c
index 16072159bd24..b82e45938c9e 100644
--- a/drivers/gpu/drm/omapdrm/dss/output.c
+++ b/drivers/gpu/drm/omapdrm/dss/output.c
@@ -234,6 +234,12 @@ void dss_mgr_set_lcd_config(struct omap_overlay_manager *mgr,
}
EXPORT_SYMBOL(dss_mgr_set_lcd_config);
+bool dss_lcd_mgr_config_get_stallmode(const struct dss_lcd_mgr_config *config)
+{
+ return config->stallmode;
+}
+EXPORT_SYMBOL(dss_lcd_mgr_config_get_stallmode);
+
int dss_mgr_enable(struct omap_overlay_manager *mgr)
{
return dss_mgr_ops->enable(mgr);
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 295b41e20d8e..9bde65b79220 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -975,6 +975,7 @@ int dss_mgr_register_framedone_handler(struct omap_overlay_manager *mgr,
void (*handler)(void *), void *data);
void dss_mgr_unregister_framedone_handler(struct omap_overlay_manager *mgr,
void (*handler)(void *), void *data);
+bool dss_lcd_mgr_config_get_stallmode(const struct dss_lcd_mgr_config *config);
static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev)
{
--
2.7.0
Back to top | Article view | linux.kernel
csiph-web