MLK-19419: drm: imx: dcss: Add linear modifier support for all formats
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 31 Aug 2018 10:58:01 +0000 (13:58 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit536c148e536785ae15f84ea7be04276c47a378d6
tree745e5be843419b0e27d0b23e74f48148cfb97ad0
parent72e2b8bff9ac0c11f530797faa0c62b4976eadf9
MLK-19419: drm: imx: dcss: Add linear modifier support for all formats

Tiled formats are supported only for YUV420 semi-planar formats.
However, the other formats should support at least the LINEAR modifier.
Some userspace app may pass on framebuffers with the linear modifier
attached and, currently, this is rejected for YUV422 and RGB formats.

This patch fixes that.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reported-by: Jared Hu <jared.hu@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-plane.c