aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/omapdss.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-03-04 16:42:36 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 09:13:27 -0400
commit511afb44d72aa7b6b871fa71f829afaaa27e84f0 (patch)
treee5c3c1fced5108a88c1bd06e0f3b98a6aa082e94 /drivers/gpu/drm/omapdrm/dss/omapdss.h
parent2ee767922e1bc7ede9ceb7aed9a14141480836a7 (diff)
drm/omap: Reverse direction of DSS device (dis)connect operations
The omapdrm and omapdss drivers are architectured based on display pipelines made of multiple components handled from sink (display) to source (DSS output). This is incompatible with the DRM bridge and panel APIs that handle components from source to sink. To reconcile the omapdrm and omapdss drivers with the DRM bridge and panel model, we need to reverse the direction of the DSS device operations. Start with the connect and disconnect operations. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss.h')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/omapdss.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index 5d03e9066a33..80c4c2ae306a 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -437,8 +437,10 @@ struct omap_dss_driver {
437 int (*probe)(struct omap_dss_device *); 437 int (*probe)(struct omap_dss_device *);
438 void (*remove)(struct omap_dss_device *); 438 void (*remove)(struct omap_dss_device *);
439 439
440 int (*connect)(struct omap_dss_device *dssdev); 440 int (*connect)(struct omap_dss_device *src,
441 void (*disconnect)(struct omap_dss_device *dssdev); 441 struct omap_dss_device *dst);
442 void (*disconnect)(struct omap_dss_device *src,
443 struct omap_dss_device *dst);
442 444
443 int (*enable)(struct omap_dss_device *display); 445 int (*enable)(struct omap_dss_device *display);
444 void (*disable)(struct omap_dss_device *display); 446 void (*disable)(struct omap_dss_device *display);