OMAPDSS: add 'has_writeback' flag
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 4 Nov 2015 15:10:44 +0000 (17:10 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Dec 2015 09:06:25 +0000 (11:06 +0200)
commit20efbc35db42ba8164c42d36ed7ca32cd8184c2c
tree7ef56747623822804f8bbd90b6c7602bfd74aef8
parentbae199cd3d4fde48a103570402d6d30ab7eb959e
OMAPDSS: add 'has_writeback' flag

At the moment we have a function to get the number of writeback
pipelines supported. However, the function is used in a wrong way,
causing a wrong pipeline to get configured when trying to use WB. Also,
we only have a single writeback pipeline on any of the DSS versions.

To fix and simplify this, create a 'has_writeback' flag into the dispc
driver, and after checking the flag, use OMAP_DSS_WB pipeline
explicitly when calling the configuration functions.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dispc.c
drivers/video/fbdev/omap2/dss/dss_features.c
drivers/video/fbdev/omap2/dss/dss_features.h
This page took 0.028024 seconds and 5 git commands to generate.