diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-04-11 11:12:12 +0530 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-04-14 13:56:24 +0200 |
commit | 7ce92a554a257d2f9ceee9ab855b878f01a5f88a (patch) | |
tree | 7922649dbe064540b0b92acc3bd5777c1ab1667a /drivers | |
parent | 32f26f56b3b918444ee2b3bf8f928bec506021b8 (diff) | |
download | u-boot-7ce92a554a257d2f9ceee9ab855b878f01a5f88a.tar.gz |
video: fsl_dcu_fb: Fix DCU_MODE_BLEND_ITER setting
DCU_LAYER_MAX_NUM is currently used for DCU_MODE_BLEND_ITER and it
actually overflows the maximum value of BLEND_ITER for Vybrid and
LS102XA. Fix this by using a default value of 2.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fsl_dcu_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fsl_dcu_fb.c b/drivers/video/fsl_dcu_fb.c index c6ed3c40bc..9fd9218c7b 100644 --- a/drivers/video/fsl_dcu_fb.c +++ b/drivers/video/fsl_dcu_fb.c @@ -294,7 +294,7 @@ int fsl_dcu_init(unsigned int xres, unsigned int yres, DCU_BGND_R(0) | DCU_BGND_G(0) | DCU_BGND_B(0)); dcu_write32(®s->mode, - DCU_MODE_BLEND_ITER(DCU_LAYER_MAX_NUM) | + DCU_MODE_BLEND_ITER(2) | DCU_MODE_RASTER_EN); dcu_write32(®s->threshold, |