MLK-17459-2: drm: imx: dcss: add cropping functionality and fix odd resolutions
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Mon, 19 Feb 2018 13:58:21 +0000 (15:58 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitdb7eed2ac8b37d5e5b190e69da3bdf49283eb73a
treedb5db7e5f200626f6cd8d3d3f0e3f799cd9dc9b6
parent650817380b10e0dafa0942dc9e9ff823c2a1a10f
MLK-17459-2: drm: imx: dcss: add cropping functionality and fix odd resolutions

This patch fixes playback for movies with unaligned widths/heights and
adds cropping functionality for tiled formats. Untiled formats will not
have this feature as cropping is a DTRC function.

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