From: Inki Dae Subject: [PATCH 0/4] drm/exynos: add exceptions to framebuffer module Date: Fri, 29 Jun 2012 17:02:52 +0900 Message-ID: <1340956976-3698-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 mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E8C2A0B19 for ; Fri, 29 Jun 2012 01:03:17 -0700 (PDT) Received: from epcpsbgm2.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M6D003ZWCZPVZ60@mailout3.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 29 Jun 2012 17:02:58 +0900 (KST) Received: from daeinki-desktop.10.32.193.11 ([10.90.51.53]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M6D007WOD0XLS80@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 29 Jun 2012 17:02:58 +0900 (KST) 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: Inki Dae , kyungmin.park@samsung.com, sw0312.kim@samsung.com List-Id: dri-devel@lists.freedesktop.org this patch sets fixes some minor issues to exynos drm framebuffer module. when user sent wrong gem memory type, framebuffer size and so on to driver side, the driver has to check if those data are valid or not properly. Thanks. Inki Dae (4): drm/exynos: fixed a comment to gem size. drm/exynos: add packed_size not aligned in page unit. drm/exynos: check if gem type is valid or not for fb. drm/exynos: check if framebuffer and gem size are valid or not. drivers/gpu/drm/exynos/exynos_drm_fb.c | 86 ++++++++++++++++++++++++++++++- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 + drivers/gpu/drm/exynos/exynos_drm_gem.h | 6 ++- 3 files changed, 91 insertions(+), 3 deletions(-) -- 1.7.4.1