From patchwork Thu Dec 20 09:31:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eunchul Kim X-Patchwork-Id: 1899001 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 6F0AE3FC64 for ; Thu, 20 Dec 2012 09:37:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 63366E5F9B for ; Thu, 20 Dec 2012 01:37:24 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D46CE5CE2 for ; Thu, 20 Dec 2012 01:31:37 -0800 (PST) Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MFB001CBP3OJCT0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 20 Dec 2012 18:31:27 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.43]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 43.07.01231.FEAD2D05; Thu, 20 Dec 2012 18:31:27 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-b7-50d2daefac6f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 41.07.01231.FEAD2D05; Thu, 20 Dec 2012 18:31:27 +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 <0MFB0040GP41LE10@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 20 Dec 2012 18:31:27 +0900 (KST) From: Eunchul Kim To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com Subject: [PATCH 6/8] drm/exynos: removed color bar pattern display. Date: Thu, 20 Dec 2012 18:31:33 +0900 Message-id: <1355995895-16355-7-git-send-email-chulspro.kim@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1355995895-16355-1-git-send-email-chulspro.kim@samsung.com> References: <1355995895-16355-1-git-send-email-chulspro.kim@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPExsVy+t8zbd33ty4FGLReVLa48vU9mwOjx/3u 40wBjFFcNimpOZllqUX6dglcGbP//mMrmMld8Xv7X/YGxo2cXYycHBICJhIPJz1jhbDFJC7c W8/WxcjFISSwjFGibcURJpiiOVe2QyWmM0p8m3OSGcJZwSTx+OtTNpAqNgEdiSO3mplBbBEB S4kHW3+DFTEL/GSUWPfkLNAODg5hAWeJVR/VQWpYBFQlrm16ywJi8wp4SKy8sIQNYpuCROuy Q+wgNqeAp8SSiQ1MIK1CQDUXe3ggWgUkvk0+xAISlhCQldh0AGyThMB1Nok5J/ZBHS0pcXDF DZYJjMILGBlWMYqmFiQXFCel5xrqFSfmFpfmpesl5+duYoQEodQOxpUNFocYBTgYlXh4F027 FCDEmlhWXJl7iFGCg1lJhHfhrYsBQrwpiZVVqUX58UWlOanFhxh9gC6ZyCwlmpwPjJC8knhD YwNjQ0NLQzNTS1MDHMJK4rzNHikBQgLpiSWp2ampBalFMOOYODilGhgTIv+8jg5rOtO1rIV1 c91P3r1RKc9quVfvEK5z/ZAfIfNkltMlj+pbX0+LqZ/2WJUeevNujvQ8S9afp55FaCz278wu /hdotru5gW9p0o1XBilT9rI7z/Dh/5B8NLQgvfuyv77h7D231k3Sv8I54/blX1wlZ+4++Hyf uf9kuPH9hA2uNnoh+feVWIozEg21mIuKEwEqczNXbwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42I5/e+xoO77W5cCDM5dlbO48vU9mwOjx/3u 40wBjFENjDYZqYkpqUUKqXnJ+SmZeem2St7B8c7xpmYGhrqGlhbmSgp5ibmptkouPgG6bpk5 QGOVFMoSc0qBQgGJxcVK+naYJoSGuOlawDRG6PqGBMH1GBmggYR1jBmz//5jK5jJXfF7+1/2 BsaNnF2MnBwSAiYSc65sZ4OwxSQu3FsPZHNxCAlMZ5T4NuckM4Szgkni8denYFVsAjoSR241 M4PYIgKWEg+2/gYrYhb4ySix7slZ1i5GDg5hAWeJVR/VQWpYBFQlrm16ywJi8wp4SKy8sARq m4JE67JD7CA2p4CnxJKJDUwgrUJANRd7eCYw8i5gZFjFKJpakFxQnJSea6hXnJhbXJqXrpec n7uJERziz6R2MK5ssDjEKMDBqMTDu2japQAh1sSy4srcQ4wSHMxKIrwLb10MEOJNSaysSi3K jy8qzUktPsToA3TURGYp0eR8YPzllcQbGpuYGVkamRmbmBsb4xBWEudt9kgJEBJITyxJzU5N LUgtghnHxMEp1cB48QxDusyRV2uWX9V5rFA8Z64S810pWybruZ3yaVxCm/694lZK0O3nzv/z gGeBW3OczvH/5fxzlk4Wmi959nyd+J/XdUJvX0SkqyzPP5K0bOtP9obkr682Bi1edi92/4yt 3wKS16/7f26Pc8axFIVDLbs8DZ9cesR8qt/FQuzgpnVKIYvvlW4VVGIpzkg01GIuKk4EAJlP ycCeAgAA 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 cfeb606..67e1b88 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));