MLK-17257-2: drm: imx: dcss: use the WRSCL/RDSRC modules
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Tue, 19 Dec 2017 11:38:44 +0000 (13:38 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:06 +0000 (14:52 -0500)
commit25604f6c86da761cf0df9da083a80997587a5da7
tree782761769e90e971bfd9eb19cfda4afeded93ee2
parentfd5aaa9e79d70bf4ab6e4adafd6943335cee752d
MLK-17257-2: drm: imx: dcss: use the WRSCL/RDSRC modules

This patch makes the necessary changes so that, for downscaling ratios
more than 3:1 and up to 7:1 (for video) and 5:1 (for graphics), the
WRSCL/RDSRC path will be used. This way the DRAM bandwidth will be lower
and spread evenly across the frame time.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-plane.c
drivers/gpu/imx/dcss/dcss-common.c
drivers/gpu/imx/dcss/dcss-ctxld.c
drivers/gpu/imx/dcss/dcss-scaler.c
include/video/imx-dcss.h