From: YoungJun Cho Date: Mon, 11 Mar 2013 12:17:52 +0000 (+0900) Subject: drm/exynos: Check g2d cmd list for g2d restrictions X-Git-Tag: v3.9-rc5~34^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dec17c70e7567f226331c26d8daa0c16d3e7e6d;p=pandora-kernel.git drm/exynos: Check g2d cmd list for g2d restrictions This patch checks command list from user for g2d restrictions. For now, g2d driver wasn't considered for G2D hardware restrictions properly. The below is the restrictions to G2D hardware and this patch considers them. - width or height value in the command list has to be in valid range (1 to 8000 pixels) - The requested area should be less than buffer size. - right has to be bigger than left. - bottom has to be bigger than top. Changelog v2: - Fix merge conflict. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- Reading git-diff-tree failed