From patchwork Sat Dec 22 08:49:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eunchul Kim X-Patchwork-Id: 1905601 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 48D71DFB79 for ; Sat, 22 Dec 2012 08:55:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 425B8E5C7A for ; Sat, 22 Dec 2012 00:55:34 -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 BF99BE5C8C for ; Sat, 22 Dec 2012 00:49:43 -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 <0MFF0003BCINHOB0@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Sat, 22 Dec 2012 17:49:36 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.43]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 87.5D.12699.F1475D05; Sat, 22 Dec 2012 17:49:36 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-c7-50d5741fbc3e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 76.5D.12699.F1475D05; Sat, 22 Dec 2012 17:49:35 +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 <0MFF00JZNCIJQC10@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Sat, 22 Dec 2012 17:49:35 +0900 (KST) From: Eunchul Kim To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com Subject: [PATCH v3 6/8] drm/exynos: remove color bar pattern operation. Date: Sat, 22 Dec 2012 17:49:27 +0900 Message-id: <1356166169-3400-7-git-send-email-chulspro.kim@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1356166169-3400-1-git-send-email-chulspro.kim@samsung.com> References: <1356166169-3400-1-git-send-email-chulspro.kim@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsVy+t8zbV2FkqsBBs+FLK58fc/mwOhxv/s4 UwBjFJdNSmpOZllqkb5dAlfGzINLmQt6eSrOne9jamCcytXFyMkhIWAicf3vP3YIW0ziwr31 bF2MXBxCAssYJa5d/AGU4AAr6plaDlIjJDCdUWLmn3KImhVMEn8//QJrZhPQkThyq5kZxBYR sJR4sPU3M0gRs8BPRol1T86ygiSEBdwlPn/8wQoylEVAVWLCjnqQMC9Q+Pyu56wQRyhItC47 BDaTU8BDonPZUlaIxe4S/cubWUBsFgEBiW+TD7FA3CYrsekAM0TrdTaJKxMUIGxJiYMrbrBM YBRewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyMk/KR3MK5qsDjEKMDBqMTDe7HpSoAQ a2JZcWXuIUYJDmYlEd4tBlcDhHhTEiurUovy44tKc1KLDzH6AB0ykVlKNDkfGBt5JfGGxgbG hoaWhmamlqYGOISVxHmbPVIChATSE0tSs1NTC1KLYMYxcXBKNTDW/dxdP+PwWjZN7gkaS43z WSu+Vmg4HtL+wF6b7ypjsWv3AU/Hy8ueZJcyK16q+3PjlfFtdqNosQUtdurxxo9vN9y6Uv/s T55CyVHzlt/VH699iZKtu7zt49LNYiK9SV8C7Lf2pf3dLbl0hedpm9R1kbwzhbrCdsZG/fip 8i6lYIri67N1S54qsRRnJBpqMRcVJwIA0tMGR2wCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoK58ydUAg3mvzS2ufH3P5sDocb/7 OFMAY1QDo01GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO 0FglhbLEnFKgUEBicbGSvh2mCaEhbroWMI0Rur4hQXA9RgZoIGEdY8bMg0uZC3p5Ks6d72Nq YJzK1cXIwSEhYCLRM7W8i5ETyBSTuHBvPRuILSQwnVFi5h+gOBeQvYJJ4u+nX+wgCTYBHYkj t5qZQWwRAUuJB1t/M4MUMQv8ZJRY9+QsK0hCWMBd4vPHH6wgC1gEVCUm7KgHCfMChc/ves4K sUxBonXZIbCZnAIeEp3LlrJCLHaX6F/ezDKBkXcBI8MqRtHUguSC4qT0XCO94sTc4tK8dL3k /NxNjOAAfya9g3FVg8UhRgEORiUe3otNVwKEWBPLiitzDzFKcDArifBuMbgaIMSbklhZlVqU H19UmpNafIjRB+ioicxSosn5wOjLK4k3NDYxM7I0MjM2MTc2xiGsJM7b7JESICSQnliSmp2a WpBaBDOOiYNTqoExQ/WB7emQFzq8T5ZVySr/Y8s8MV3e6Fr53d0v56sf+qkyoXDm6V0df3wj /BbcUDl+bsnpb/PdFPPUd2tWzrjbfuyfb+WhJc0S79Tveh18k/NIKUngBdPORxPX7RWf01NV t2jho8ttC9aL+mobaLS9NTVm+L68xr40Js/pwtmJlb6JRzeEfGkQUWIpzkg01GIuKk4EAMy6 wQedAgAA 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 removes color bar pattern register because we don't use the register anymore. because it doesn't support color bar feature for writeback operation. camera driver only supports color bar feature. but IPP doesn't support camera driver. 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));