MLK-17492 drm/imx: dec400d: set read config to '0x0' when bypass dec400d
authorFancy Fang <chen.fang@nxp.com>
Thu, 1 Feb 2018 15:21:58 +0000 (23:21 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit0c54417a92d04d1fa98ffd2e58dc5bfcaaf85265
treebbdd9347aff69575db0b7973c51f34f513431c9d
parent9d0c7da0a8ee132e76b2380aaad8a76d03dc5a4e
MLK-17492 drm/imx: dec400d: set read config to '0x0' when bypass dec400d

When the DEC400D is set to bypass mode from decompressed mode,
the read config should be set to disable compression along with
the control register. Otherwise, the DEC400D cannot really leave
the decompressed mode. And the value '0x0' is suitable to be set
to read config register in this case.

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