MLK-17514: drm/imx: dcss: directly bypass dec400d when no modifier present
authorFancy Fang <chen.fang@nxp.com>
Fri, 2 Feb 2018 08:40:24 +0000 (16:40 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitc7b6f18e9bcb4bf61cd025a9fee6a429c0d0315a
tree38d581017fe1d1d71550c8e23f17c16edff86ddd
parent79819c569c654d515775965006d169bf468df43f
MLK-17514: drm/imx: dcss: directly bypass dec400d when no modifier present

When no modifier present, the 'fb->modifier[0]' may contain
undefined value. So it cannot be used to decide whether the
DEC400D should be set to bypass or not in this case.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-plane.c