From patchwork Fri Dec 21 04:20:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eunchul Kim X-Patchwork-Id: 1902041 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 72988DFAC4 for ; Fri, 21 Dec 2012 04:25:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 75B70E6762 for ; Thu, 20 Dec 2012 20:25:29 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id D623BE5C74 for ; Thu, 20 Dec 2012 20:20:32 -0800 (PST) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MFD006865DYVMK0@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 21 Dec 2012 13:20:29 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.44]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 88.24.12699.D83E3D05; Fri, 21 Dec 2012 13:20:29 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-50-50d3e38de882 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D7.24.12699.D83E3D05; Fri, 21 Dec 2012 13:20:29 +0900 (KST) Received: from localhost.localdomain ([10.90.54.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFD009P95E1VT50@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 21 Dec 2012 13:20:29 +0900 (KST) From: Eunchul Kim To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com Subject: [PATCH v2 6/8] drm/exynos: removed color bar pattern display. Date: Fri, 21 Dec 2012 13:20:46 +0900 Message-id: <1356063648-12447-7-git-send-email-chulspro.kim@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1356063648-12447-1-git-send-email-chulspro.kim@samsung.com> References: <1356063648-12447-1-git-send-email-chulspro.kim@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPExsVy+t8zHd3ex5cDDD7t07e48vU9mwOjx/3u 40wBjFFcNimpOZllqUX6dglcGU+/nGcvmMld8fPPdvYGxo2cXYycHBICJhLfP5xhhrDFJC7c W8/WxcjFISSwjFFi25wVzDBFm74eZwexhQSmM0osflEAYa9gkmg5qwpiswnoSBy51QxWLyJg KfFg629mkEHMAj8ZJdY9OcsKkhAWcJNouT0FzGYRUJXYfuwuC4jNK+Ah0b9gLzvEMgWJ1mWH wGxOAU+Jpm1fWCGWeUic7/nNBtErIPFt8iGgXg6gelmJTQfAdkkInGGTmLLrGNQcSYmDK26w TGAUXsDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMjJAildzCuarA4xCjAwajEwxtpcTlA iDWxrLgy9xCjBAezkgjv8yVAId6UxMqq1KL8+KLSnNTiQ4w+QJdMZJYSTc4HRkheSbyhsYGx oaGloZmppakBDmElcd5mj5QAIYH0xJLU7NTUgtQimHFMHJxSDYzFP4p2XF8odnNSuPCR8P+9 fJPveVvIn1pTOW3r/u8OP9S2yizs27zU6+nnztLsd8tfZzakCry/JPwh75RDf+/nx/lPA3+U ZU7hDEhvWhNwjY/TJIlVdj2ryxqRn35rW4vfPw+IqewKf+978POhqPneF8VWWDL+4b70J+bu SYPCt2oNzjbtzfpKLMUZiYZazEXFiQC3tDOQbwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42I5/e+xoG7v48sBBrcWaFlc+fqezYHR4373 caYAxqgGRpuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wc oLFKCmWJOaVAoYDE4mIlfTtME0JD3HQtYBojdH1DguB6jAzQQMI6xoynX86zF8zkrvj5Zzt7 A+NGzi5GTg4JAROJTV+Ps0PYYhIX7q1nA7GFBKYzSix+UQBhr2CSaDmrCmKzCehIHLnVzAxi iwhYSjzY+hvI5uJgFvjJKLHuyVlWkISwgJtEy+0pYDaLgKrE9mN3WUBsXgEPif4Fe6GWKUi0 LjsEZnMKeEo0bfvCCrHMQ+J8z2+2CYy8CxgZVjGKphYkFxQnpeca6RUn5haX5qXrJefnbmIE h/gz6R2MqxosDjEKcDAq8fBGWlwOEGJNLCuuzD3EKMHBrCTC+3wJUIg3JbGyKrUoP76oNCe1 +BCjD9BVE5mlRJPzgfGXVxJvaGxiZmRpZGZsYm5sjENYSZy32SMlQEggPbEkNTs1tSC1CGYc EwenVAOjkEnO79jUgto/69I5cxlzzB9cPOeu0tOVJsj9VbZmvXLHq7JNP8tP1gZ76a1+ulQn 57uZVfs7x/lz+6ZHcX9XWDjNoVd3Gk/s3GvPlu1o5pHZtYhri1ZR1p7bEb3Gngf0zfo6lrvz WL0pCxIM8PrHVD29Jjwgt/u/1aSnuZGfE27vb1i744gSS3FGoqEWc1FxIgDLut63ngIAAA== X-CFilter-Loop: Reflected Cc: jy0.jeon@samsung.com, sw0312.kim@samsung.com, jaejoon.seo@samsung.com, kyungmin.park@samsung.com, jmock.shin@samsung.com, lsmin.lee@samsung.com, th908.kim@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: JoongMock Shin This patch removed color bar pattern register. we not use color bar any more. and don't support color bar at writeback operation. Signed-off-by: JoongMock Shin Signed-off-by: Eunchul Kim --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 8cfc5a9..a99ceef 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimc.c @@ -163,17 +163,14 @@ struct fimc_context { bool suspended; }; -static void fimc_sw_reset(struct fimc_context *ctx, bool pattern) +static void fimc_sw_reset(struct fimc_context *ctx) { u32 cfg; - DRM_DEBUG_KMS("%s:pattern[%d]\n", __func__, pattern); + DRM_DEBUG_KMS("%s\n", __func__); cfg = fimc_read(EXYNOS_CISRCFMT); cfg |= EXYNOS_CISRCFMT_ITU601_8BIT; - if (pattern) - cfg |= EXYNOS_CIGCTRL_TESTPATTERN_COLOR_BAR; - fimc_write(cfg, EXYNOS_CISRCFMT); /* s/w reset */ @@ -1536,7 +1533,7 @@ static int fimc_ippdrv_reset(struct device *dev) DRM_DEBUG_KMS("%s\n", __func__); /* reset h/w block */ - fimc_sw_reset(ctx, false); + fimc_sw_reset(ctx); /* reset scaler capability */ memset(&ctx->sc, 0x0, sizeof(ctx->sc));