// SPDX-License-Identifier: GPL-2.0-only /* * linux/drivers/video/omap2/dss/manager.c * * Copyright (C) 2009 Nokia Corporation * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com> * * Some code and ideas taken from drivers/video/omap/ driver * by Imre Deak.
*/
list_for_each_entry(ovl2, &mgr->overlays, list) { if (ovl1 == ovl2) continue;
info2 = overlay_infos[ovl2->id];
if (info2 == NULL) continue;
if (info1->zorder == info2->zorder) {
DSSERR("overlays %d and %d have the same " "zorder %d\n",
ovl1->id, ovl2->id, info1->zorder); return -EINVAL;
}
}
}
return 0;
}
int dss_mgr_check_timings(struct omap_overlay_manager *mgr, conststruct omap_video_timings *timings)
{ if (!dispc_mgr_timings_ok(mgr->id, timings)) {
DSSERR("check_manager: invalid timings\n"); return -EINVAL;
}
/* fifohandcheck should be used only with stallmode */ if (!stallmode && fifohandcheck) return -EINVAL;
/* * io pad mode can be only checked by using dssdev connected to the * manager. Ignore checking these for now, add checks when manager * is capable of holding information related to the connected interface
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.