OMAPDSS: OMAPFB: always allow to configure overlay
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 10 May 2012 11:19:56 +0000 (14:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 May 2012 11:44:21 +0000 (14:44 +0300)
commitb3e68d306519cc96ff5ad2957d133997f91bb53e
treed3bc04745f82e682fda0096ed300ad9725fc4458
parent0aca3c63e068e47616bdd54b9d19e4771db86e8e
OMAPDSS: OMAPFB: always allow to configure overlay

Currently when multiple overlays are active, OMAPFB_SETUP_PLANE fails.
Instead of failing, allow it to configure the first overlay as if there
was only one overlay, the remaining ones will have to be configured in
other ways (sysfs).

This allows overlay-controlling programs (like video players) to function
properly when framebuffer is cloned to another display (like TV).

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-ioctl.c