MLK-16927: drm: imx: dcss: Add basic plane checks
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Tue, 21 Nov 2017 10:22:18 +0000 (12:22 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:47:06 +0000 (15:47 -0500)
commitad8b2206ea62be57a07c8ddb5baac35953516e39
tree4cc50719e454e0dce2f7f576d9f3154e2681f1cd
parenteaf7e77042b9313b225cde57327ccf97282adf7b
MLK-16927: drm: imx: dcss: Add basic plane checks

Currently, there are no plane checks and the user can try set up a plane
with a CRTC size that is actually bigger than the current CRTC mode.
Because, currently, the driver does not support cropping, all planes
with CRTC sizes bigger than the actual CRTC mode will be rejected.

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