drm/exynos/gsc: Add rotation hardware limits of gscaler 37/123837/15 submit/tizen/20170710.070742
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Fri, 7 Apr 2017 06:11:14 +0000 (15:11 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 5 Jul 2017 05:56:15 +0000 (14:56 +0900)
commit60f8b78ad8b75c5c3a52f2ad66897da628153eec
treeba0a90153bfc74dec95478ea18db38bed8bf6fc8
parentcb0cf673086cee4979b01bcce9710fe2de60740a
drm/exynos/gsc: Add rotation hardware limits of gscaler

The gscaler has hardware rotation limits that need to be imported from
dts. Parse them and add them to the property list.

The rotation hardware limits are related to the cropped source size.
When swap occurs, use rot_max size instead of crop_max size.

Also the scaling limits are related to post size, use pos size to
check the limits.

Change-Id: I081568c20ac5b30e5decd76498b39bacf29829b6
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c
include/uapi/drm/exynos_drm.h