drm/omap: Do dss_device (display) ordering in omap_drv.c
Sort the dssdev array based on DT aliases. With this change we can remove the panel ordering from dss/display.c and have all sorting related to dssdevs in one place. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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
52b9ef246d
commit
eb5bc1f92b
@@ -52,6 +52,8 @@ int omapdss_register_display(struct omap_dss_device *dssdev)
|
||||
if (id < 0)
|
||||
id = disp_num_counter++;
|
||||
|
||||
dssdev->alias_id = id;
|
||||
|
||||
snprintf(dssdev->alias, sizeof(dssdev->alias), "display%d", id);
|
||||
|
||||
/* Use 'label' property for name, if it exists */
|
||||
|
Reference in New Issue
Block a user