diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-06 09:50:22 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-19 11:03:05 +0200 |
commit | 3e22b355343d808bb09cc47b5ecb261af3b5753b (patch) | |
tree | 12bf66dfe5a5c33ae5c0fc40b676c83fa20fa325 /lib/dec_and_lock.c | |
parent | 7f2bcd06558a40deecd4a294acbd0b3f659be911 (diff) |
OMAPDSS: get dssdev->alias from DT alias
We currently create a "displayX" style alias name for all displays,
using a number that is incremented for each registered display. With the
new DSS device model there is no clear order in which the displays are
registered, and thus the numbering is somewhat random.
This patch improves the behavior for DT case so that if the displays
have been assigned DT aliases, those aliases will be used as DSS
aliases.
This means that "display0" is always the one specified in the DT alias,
and thus display0 can be used as default display in case the user didn't
specify a default display.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions