drm/omap: dss: Move DSS mgr ops and private data to dss_device
The DSS manager ops and private data pointer are specific to a DSS instance. Store them in the dss_device structure instead of global variable. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
f324b2798c
commit
845417b3b3
@@ -574,9 +574,10 @@ struct dss_mgr_ops {
|
||||
void (*handler)(void *), void *data);
|
||||
};
|
||||
|
||||
int dss_install_mgr_ops(const struct dss_mgr_ops *mgr_ops,
|
||||
int dss_install_mgr_ops(struct dss_device *dss,
|
||||
const struct dss_mgr_ops *mgr_ops,
|
||||
struct omap_drm_private *priv);
|
||||
void dss_uninstall_mgr_ops(void);
|
||||
void dss_uninstall_mgr_ops(struct dss_device *dss);
|
||||
|
||||
int dss_mgr_connect(struct omap_dss_device *dssdev,
|
||||
struct omap_dss_device *dst);
|
||||
|
Reference in New Issue
Block a user