aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/omapdss.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-03-05 18:25:13 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 09:13:28 -0400
commit713165561b7e372cd21f34bfeb82188361569f74 (patch)
treeb510b0ae1fa4976198088e5d8e6228c41b968724 /drivers/gpu/drm/omapdrm/dss/omapdss.h
parent79ddb2f0c348e991edca106a0e5ab414a822ccfc (diff)
drm/omap: dss: Move display type validation to initialization time
The display type is validated when the display is connected to the DSS output. We already have all the information we need for validation when initializing the outputs. Move validation to output initialization to simplify pipeline connection handling. 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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss.h')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/omapdss.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index 80c4c2ae306a..600ac7c25724 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -521,8 +521,7 @@ int omap_dss_get_num_overlays(void);
521 521
522#define for_each_dss_output(d) \ 522#define for_each_dss_output(d) \
523 while ((d = omapdss_device_get_next(d, OMAP_DSS_DEVICE_TYPE_OUTPUT)) != NULL) 523 while ((d = omapdss_device_get_next(d, OMAP_DSS_DEVICE_TYPE_OUTPUT)) != NULL)
524int omapdss_output_set_device(struct omap_dss_device *out, 524int omapdss_output_validate(struct omap_dss_device *out);
525 struct omap_dss_device *dssdev);
526int omapdss_output_unset_device(struct omap_dss_device *out); 525int omapdss_output_unset_device(struct omap_dss_device *out);
527 526
528typedef void (*omap_dispc_isr_t) (void *arg, u32 mask); 527typedef void (*omap_dispc_isr_t) (void *arg, u32 mask);