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)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:05 +0000 (14:52 -0500)
commit7dc0efdd0014fb0ae076fe994c0932b6174a4a56
tree6d4a652468a4e1fb0f6965debb8189dd0dbef822
parent000da41f2b1f24b86928b4e05e383d46ea51522e
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