MLK-17459-4: drm: imx: dcss: fix weston
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 23 Feb 2018 10:39:22 +0000 (12:39 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitc0d3af9c5816f5f553851882c8d78d760305e03f
tree610151fb6834986e08a80100be2022c94e2ca1f0
parent17dc66130a1f79929c644e4744b868919d295860
MLK-17459-4: drm: imx: dcss: fix weston

This patch fixes an issue introduced by the cropping patches which made
weston look bad. That's because use_dtrc flag was enabled if modifiers
were present. However, graphics plane can have modifiers too. This patch
adds an extra check.

Also, remove an unnecessary debug message.

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