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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitd9a90beb6f8f43f1d183edec1f105f00aa19c32d
tree70368ceaa8c7b38d31c59c121cfb75f17456a01b
parent07b1da678421edb946b275ed5910ad12f42b3bc0
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