OSDN Git Service

OMAPDSS: remove initial display code from omapdss
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 6 Aug 2012 12:27:17 +0000 (15:27 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Oct 2012 10:44:25 +0000 (12:44 +0200)
commit5d89bcc341771d95e3a2996218e5949a6627f59e
tree6aa464efa689c34931b72c94ff3b1021797b86b3
parent2bbcce5e0b47e0de83a1b799b9e164f8c5b9b634
OMAPDSS: remove initial display code from omapdss

Currently omapdss driver sets up the initial connections between
overlays, overlay manager and a panel, based on default display
parameter coming from the board file or via module parameters.

This is unnecessary, as it's the higher level component that should
decide what display to use and how. This patch removes the code from
omapdss, and implements similar code to omapfb.

The def_disp module parameter and the default display platform_data
parameter are kept in omapdss, but omapdss doesn't do anything with
them. It will just return the default display name with
dss_get_default_display_name() call, which omapfb uses. This is done to
keep the backward compatibility.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/display.c
drivers/video/omap2/omapfb/omapfb-main.c