drm/omap: fix plane's channel selection
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 3 Oct 2014 15:14:08 +0000 (15:14 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:50:55 +0000 (13:50 +0200)
commit2dd3887b503c1cc8a61ef4a4f24462ce03f3ada5
treeb338e7e2c1f2250ce9c3e421b142436d2129aaee
parent7cb0d6c17b96b8bf3c25de2dfde4fdeb9191f4c3
drm/omap: fix plane's channel selection

omap_plane_pre_apply() sets the plane's output channel too late, only
after the plane has already been otherwise configured and enabled. This
causes problems, as at the configuration stage we need to make decisions
based on the output channel.

This may lead to bad plane settings or failing to setup the plane.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_plane.c