diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-12-15 11:46:00 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 15:08:23 +0100 |
commit | 9f0eb51e3c658a767c3fa89b3894f45f5319c208 (patch) | |
tree | 64c0e97a5c8ae6ed84b4862ddd8847d874c5ea34 /drivers/gpu/drm/omapdrm/dss/omapdss.h | |
parent | drm/omap: dsi: do bus locking in host driver (diff) | |
download | linux-9f0eb51e3c658a767c3fa89b3894f45f5319c208.tar.xz linux-9f0eb51e3c658a767c3fa89b3894f45f5319c208.zip |
drm/omap: dsi: untangle ulps ops from enable/disable
Create a custom function pointer for ULPS and use it instead of
reusing disable/enable functions for ULPS mode switch. This allows
us to use the common disable/enable functions pointers for DSI.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-28-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss.h')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 9bb9a7d62f02..1c5421fe0ee8 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -284,10 +284,9 @@ struct omap_dss_writeback_info { }; struct omapdss_dsi_ops { - void (*disable)(struct omap_dss_device *dssdev, bool disconnect_lanes, - bool enter_ulps); - /* bus configuration */ + void (*ulps)(struct omap_dss_device *dssdev, bool enable); + int (*set_config)(struct omap_dss_device *dssdev, const struct omap_dss_dsi_config *cfg); |