OMAPDRM: fix overlay manager handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 14 May 2013 07:55:19 +0000 (10:55 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:43 +0000 (14:00 +0300)
commit04b1fc0291674666110fffd09b30d8304aaa4602
tree9213fcba31fffe4f0e932492481480f6653a33ad
parent7f7cdbd6883fd58cfc4e538d451b455ca849bd63
OMAPDRM: fix overlay manager handling

Currently omapdrm creates crtcs, which map directly to DSS overlay
managers, only on demand at init time. This would make it difficult to
manage connecting the display entities in the future, as the code cannot
just search for a suitable overlay manager.

We cannot fix this the sane way, which would be to create crtcs for each
overlay manager, because we need an overlay for each crtc. With limited
number of overlays, that's not possible.

So the solution for now is to detach the overlay manager from the crtc.
crtcs are still created on demand at init time, but all overlay managers
are always initialized by the omapdss.

This way we can create and connect whole display pipelines from the
overlay manager to the display, regardless of which crtcs omapdrm would
create.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dispc.c
This page took 0.025022 seconds and 5 git commands to generate.