From: Inki Dae Subject: [PATCH v2 0/7] Consider G2D hardware restrictions. Date: Thu, 14 Mar 2013 18:47:32 +0900 Message-ID: <1363254452-11681-1-git-send-email-inki.dae@samsung.com> References: <1363165422-7346-1-git-send-email-inki.dae@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 39462E5D2F for ; Thu, 14 Mar 2013 02:47:36 -0700 (PDT) Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJN00JGU9UI4KR0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 14 Mar 2013 18:47:33 +0900 (KST) In-reply-to: <1363165422-7346-1-git-send-email-inki.dae@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: airlied@linux.ie, dri-devel@lists.freedesktop.org Cc: kyungmin.park@samsung.com, sw0312.kim@samsung.com List-Id: dri-devel@lists.freedesktop.org This patch set checks the contents of g2d command list from user is valid or not according to G2D hardware restrictions. For now, G2D driver wasn't considered for them properly. For this, this patch set includes relevant code cleaups, fixups and adds a new function to get buffer size to the gem to be accessed by G2D dma. Changelog v2: - Consider for interrupt setup to each command list and all command lists. - Revert irrelevant codes. - Fix merge conflict. Inki Dae (1): drm/exynos: Add a new function to get gem buffer size YoungJun Cho (6): drm/exynos: Fix error routine to getting dma addr. drm/exynos: clear node object type at gem unmap drm/exynos: Fix G2D core malfunctioning issue drm/exynos: Clean up some G2D codes for readability drm/exynos: Deal with g2d buffer info more efficiently drm/exynos: Check g2d cmd list for g2d restrictions drivers/gpu/drm/exynos/exynos_drm_g2d.c | 370 +++++++++++++++++++++++++++---- drivers/gpu/drm/exynos/exynos_drm_gem.c | 21 ++ drivers/gpu/drm/exynos/exynos_drm_gem.h | 5 + 3 files changed, 351 insertions(+), 45 deletions(-) -- 1.7.4.1