MLK-17274: drm: imx: dcss: use_global_alpha not working if channel
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Wed, 20 Dec 2017 13:13:33 +0000 (15:13 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitd8e051d7b07de0adb6f4ac2fdc7810e8da527a26
tree2a48c3bc2dc810d379991576c713d76bbec203e8
parent6bced60bbb21ca9f157aa62956e2c8cbf7e2b5d3
MLK-17274: drm: imx: dcss: use_global_alpha not working if channel
already enabled

If the channel is already enabled, or it doesn't need a mode set, then
the dcss_dtg_global_alpha_changed() will always return false for formats
with per-pixel alpha. Hence, the plane will not be updated. This patch
removes the check for image format and the check will be done for all
image formats.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-dtg.c