drm/exynos/gsc: Fix check pos size and allocated memory size 22/145122/2
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 21 Aug 2017 01:08:53 +0000 (10:08 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 21 Aug 2017 09:53:33 +0000 (09:53 +0000)
commit2e742027bd25d762aeba5b923fbdbe372ccb07f7
treefaddab0c3acd51e12c6b0c7f67b765f7bf4206cb
parent9b36ee6851002e782a0b7006b0c9aff1e18e3e7d
drm/exynos/gsc: Fix check pos size and allocated memory size

It will not allow to use various resolutions if we allow to use only
resolution with multiple of 16.
Therefore the pos size changed by a multiple of 16 is compared with
the allocated memory without error handling for multiples of resolution.

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