From patchwork Tue Jul 4 10:37:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9825755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 756E360353 for ; Wed, 5 Jul 2017 01:18:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E07422AFC for ; Wed, 5 Jul 2017 01:18:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42B142624A; Wed, 5 Jul 2017 01:18:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9EFC222AFC for ; Wed, 5 Jul 2017 01:18:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8747B6E163; Wed, 5 Jul 2017 01:17:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0102.outbound.protection.outlook.com [104.47.0.102]) by gabe.freedesktop.org (Postfix) with ESMTPS id 62BBD89D4B for ; Tue, 4 Jul 2017 10:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+s2ZWd0ZFwAWC40vqM5+m7BVFHx+p3J6MdM6ZWWPLQM=; b=Ev/kSwL90m1hIv+FKwSGIxV99oKHbBNV/+TK0xm+pwSi9b4qrv2RnHGXWqCtFsiZ/uyaIrjc3OboTycwnQIn8nxRJuiKrN60vPeqY1EG2XeD8sADK7+0EdgocgyqMebJInLFo7PIoHpWYQ/+ZRZikj3EsxNsTSiToXPkVcElDek= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=axentia.se; Received: from orc.lan (81.224.171.159) by HE1PR0202MB2555.eurprd02.prod.outlook.com (2603:10a6:3:90::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 10:36:37 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v3 15/16] drm: stm: remove dead code and pointless local lut storage Date: Tue, 4 Jul 2017 12:37:11 +0200 Message-Id: <1499164632-5582-16-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1499164632-5582-1-git-send-email-peda@axentia.se> References: <1499164632-5582-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: AM5PR0201CA0002.eurprd02.prod.outlook.com (2603:10a6:203:3d::12) To HE1PR0202MB2555.eurprd02.prod.outlook.com (2603:10a6:3:90::8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8e7e82b2-d56f-4ce8-6ae1-08d4c2c88d9a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0202MB2555; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 3:j557A23fSthOySFOLC15F7iyu8JGmwJDcWLzfLZSPmtLBYP4n8ZRnc/mWuYHVmEWiYZ3Tl51uOc2cCK2Qe2sc3xWkcUur3+Vytm3yAeWDumIjN0aGCtIT2yMGAz6zezgk29I5MVWeQDkiY+SkLhKCQxLTaM3dl6yr3cK3sBOizMzCZM9Y5/OUTRj6Lpipf0Hl3bHgl2/GGYiNOfEDiR40lqTkv1W0ZAII/IgHa0LIjdm9NAeqvC+QsvOjZb6GbY057LM0hk26mEobpPZfPwsaAcn/uBSihqBINOWjtIBzUHJ61S5LVOdbXFSPc/ZdSXTjLj4xEyxHNtxE+lan8/XaxoRGx3i8wOwOpjTspxUCFgO6D0yUZpbaNxS7SaV9IN9DNMkXPNPqf+anqnppfKYgfOhSQExfNypLk5r+DfCTCy9SwEFPCpB5X6vxs/kEojJuU3oyjJx5o11vdVhDCFNP/L4QEJQEXZbPpDqQ9XwemyBv2o4/u6HJDKJaBFAZQKOpYmEPDSRnC4qyCRQB95FeH6VsdS0cGgX5E/v5+GffYAan37Ft00xTQ1gMjzTKPbllqkznEGVdLGm1n9BhHQ52eKUTy4m/6foRQkuFa2D+Mi9Fh4OHWz5ndesNgsJoNOJkMxaoxfAAbQ46nv/Ttv68z06Padfuh07xEblvrZZDSw3XiIbLL9cWvXJ6WJO8axrhBxKNn7ZJwf/AbulES/4aw== X-MS-TrafficTypeDiagnostic: HE1PR0202MB2555: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 25:XrYHhiMtzyKh5Ih7eIUg4/CWkGrHu6VPuQtwOt3DoSd/PczMWAbYq84aWayCGC2DbdCQFUP2I9uCJPUUcGTKsAGMhEIj+RBeKzzdBtk/fw0EEcDGT+7QiEfmP1F+gqx9/5mEO2fG7cHNgxKvo9oQ/E+2rAZBjGNLphxWw8Unkt7oIEKfMl+r3+6doorcbVdu88jUO/5VYSL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fNjS3t2kI5jBUIRm56Ezj8Rqdljc42DAIZ6jGmPlvFzO2/1vieJjNfy6A6SU8VDLEwjPT3EKO4yplgNpp6U93Hgl5+TViUIc2ar1m9AL17OtsFK7qYfQke9dlyG+VjHsA7wZ2cbS7xBr7gVj169dSfY/g4pixJgpuZTmw4RaVGA/Fptg67Mzwdugx/xyHBD2CqJwME1G2uZRNDKZa9kpgcrFo1A7ZO3trLSF7JkeaZDUAXFYSIS1ImYzyScn5hOtUC8t7/bjU9iUUNZLq/VbLc1DbzhVsp1JPAS6rLEWtEzDkiyOsJxD7hzeCbrPLGtYL/vJe2hFvlFi9kc0FJ4uCy0Vxabz7W2fkNIp0kZahfZLYNSWgQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6041248)(2016111802025)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0202MB2555; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0202MB2555; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2555; 4:Q2VBg5rXE4udN+LM9SFgH/fCB/GzbHi5CekLpA2v?= =?us-ascii?Q?iycxeBsfWfrp7MpdsfvGRS4frKS+I0/tQ9abkbP7vFaArJ5e8xA+L7KmpNpw?= =?us-ascii?Q?D+ToEyB/QmQYSLnrDVTBAYvv/VituYnZ/BZxoOv1nrYja0SgRR9jPRi7928x?= =?us-ascii?Q?jmFDgH/98R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UO9JRIcfb2a9DhC?= =?us-ascii?Q?pifpjs1CUnEJlPpFtrVwcAiCxVbpSBN/dvRE679KfByCOmvkbEXt1P6ShM59?= =?us-ascii?Q?LswjYMG/RKROchfXss4ptlBsxch+dRYDtt+Uq7Zc1sISPbs5cE+NFxqR0r30?= =?us-ascii?Q?p3Tq9XS0LG902vIt251bF6Dc44cKqJMOPJRHrzi6C7/N7ozDbZNoKYAh9KWM?= =?us-ascii?Q?Ra59yYc6gLjPfxvMYig=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39840400002)(39400400002)(39410400002)(39450400003)(8676002)(81166006)(7736002)(47776003)(189998001)(3846002)(36756003)(305945005)(50466002)(6116002)(50226002)(53936002)(86362001)(33646002)(66066001)(2906002)(478600001)(42186005)(2361001)(74482002)(2351001)(38730400002)(110136004)(4326008)(25786009)(6506006)(6512007)(54906002)(5003940100001)(7416002)(6486002)(6916009)(5660300001)(6666003)(2950100002)(50986999)(76176999)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2555; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2555; 23:S4UMVEOcjLkxqO1GwWWYLxF7je080fn5Gyif85X?= =?us-ascii?Q?Mpwrgi9cpBG7ohpF7M8qSvcRf8sIwtMdqH7ayRCqsdr2jrMWqXd4yFbHgTv8?= =?us-ascii?Q?QcfPmy5P5LKNmqI9b0+V8fGJtBYydSWj0PocjT8b/3tfxa3ukBx/GdfS3wmA?= =?us-ascii?Q?dLpynhu/U6FYJfUNZcE3BFcKzqu04Yk6wKqolWcvOUzMTqLftYf1uwpfpikz?= =?us-ascii?Q?NC+8kDJLtZcKgSmgmpjIr1DB2OX2j8yxqVe295aqJEk1My+paWJ9vpFY0NHx?= =?us-ascii?Q?UIDpMt4oLLlzyDfw9ba+Xr9o2HF06lCXNXA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GV6LMIvDhhoIo72uNuoUCECWL/vGS?= =?us-ascii?Q?VTvJqNEj712ECqsueCUAjyPifZTd06AQlJSJp+lyoAU+7a2c0GDyRfIpI0io?= =?us-ascii?Q?gSo=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 5:4h9NxaFAweUxtBZPhvd19NkvXRU4zFVzOozlBowl9PSaoQDrTaNHEyaFjnFj/wDvMCKod9NNUp7oLemUts431d50iZErWKMuruSFiK59+CoEMWbvx3EiNj0Wl6/qIMTpZvau1uRs2zQc/mwjil6N+PqTZfcJK1MjuMvv6dNKPgLW2/1NqlIDjUsdxCsfG+D2SgD+2rcNU/IS1x7so/halMD/JaczSzwe9/M0ilkucHwbeYdJMINPW+FkGuZjPLtvxDDiCP5+X/Z/kWGoNs3qllgfcLLhUiPSXR49nAORzY+RrNMLj/UZZ1/8d8Sc5rB/bHS7p0JY6/ZXpxyJQaF06J8D3O3h4szhmML1K3pPxlENzoXAxUCufN4jxdsTBzduCXZDsV9cfBbQ6fzN3MXnV931noBYJkpgXXfZ0Elrx4SHFlHjmQKgbNW2OBTvgcEAyRLqkRTkb8yp8j5cB5ZS4mZpJ8X6s56UPdGHuhOn8YucwBEQfVBt+i1bxN1b9MLp; 24:ISTcjvt4mlXfg989Na6bfe/LNWgHRWjPeKaQaEh3LtaQTXkCXVMGt5REwZF08p/4VHOFW+V3R8jSBudfdy7VadsUZzhRrvHJLyASBpGWJCo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 7:tdS02OAD7pAMn1cAgZMjahD5ZXbqZO4i6DJ0jtASlH5DlrZ3EBBXE92p4jtNlWcg4KZKGpJiMpdG8I+LLkKsYWV3TEAouIBybFn9/gIvUwrD+romUnQBSrOqRchcxfhTYJXSInL6GohL+NKlnYsWK6E/rIA66JdNuM69jlVtX/m4AqDkt+GPdrh6bGG8BL5/wwgbriRESuMU8kR1XGgnZWf1MNOe23mhNoregkzS/vxdyTbqyFvAmS2nDaYTcl+qYx6g4Bx1S4iAQkHfTFgREh4y+xmnyLwL6iNXgYYJBGUyyZihCX6qvFt7TYxXN0+5DV/LvXuYSfhwtS1qwQPp8YcCiKD2rI/eLIzy30EeqV2Fpi0lruCp0UEMTrTXYAishJeW861GyPtIO0Y6rMuA/UkfQqQLnZ7+buPpENn6ekGl7WcOJsXDXF/O4RxsUEitmOZ59khSqsbZoYYbO8AlVLsXFHdSpD7Rb/KVnrlTYLcf8Dum63Jn8ELnjY85pI/7V/6/8wUzvv9FSYydI5f39/Ua/yeJWeTM8d1a7N3pTfCa2gPeeOlFo1GvqtcKuz2/y302zOqBlSZ/jCnxU7rY5l6/q3/GSrkt5ZGvyFIzhTE1krY3ENuVUcK6g9aMhGGN/qq2oVUxN/Wzo1SP+uxknHiKNmzTIVTAirmO9wyApe7fp3rWA+YCh7yutkXjZskK6UCrhBGlt1bKFfpJHqV4eK52wKI7fPraT33wcnFtwdvsm8Yg+r7Zj9VDVRAHcC7175t3jh3T5c96/SdIIFQUQFzgK+7HWv28YnvSXzg28yc= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 10:36:37.7443 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2555 X-Mailman-Approved-At: Wed, 05 Jul 2017 01:17:54 +0000 Cc: Boris Brezillon , Philippe Cornu , dri-devel@lists.freedesktop.org, Yannick Fertre , Daniel Vetter , Vincent Abriou , Peter Rosin X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The redundant fb helper .load_lut is no longer used, and can not work right without also providing the fb helpers .gamma_set and .gamma_get thus rendering the code in this driver suspect. Just remove the dead code. Signed-off-by: Peter Rosin --- drivers/gpu/drm/stm/ltdc.c | 12 ------------ drivers/gpu/drm/stm/ltdc.h | 1 - 2 files changed, 13 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 1b9483d..87829b9 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -375,17 +375,6 @@ static irqreturn_t ltdc_irq(int irq, void *arg) * DRM_CRTC */ -static void ltdc_crtc_load_lut(struct drm_crtc *crtc) -{ - struct ltdc_device *ldev = crtc_to_ltdc(crtc); - unsigned int i, lay; - - for (lay = 0; lay < ldev->caps.nb_layers; lay++) - for (i = 0; i < 256; i++) - reg_write(ldev->regs, LTDC_L1CLUTWR + lay * LAY_OFS, - ldev->clut[i]); -} - static void ltdc_crtc_enable(struct drm_crtc *crtc) { struct ltdc_device *ldev = crtc_to_ltdc(crtc); @@ -523,7 +512,6 @@ static void ltdc_crtc_atomic_flush(struct drm_crtc *crtc, } static struct drm_crtc_helper_funcs ltdc_crtc_helper_funcs = { - .load_lut = ltdc_crtc_load_lut, .enable = ltdc_crtc_enable, .disable = ltdc_crtc_disable, .mode_set_nofb = ltdc_crtc_mode_set_nofb, diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h index d7a9c73..620ca55 100644 --- a/drivers/gpu/drm/stm/ltdc.h +++ b/drivers/gpu/drm/stm/ltdc.h @@ -27,7 +27,6 @@ struct ltdc_device { struct drm_panel *panel; struct mutex err_lock; /* protecting error_status */ struct ltdc_caps caps; - u32 clut[256]; /* color look up table */ u32 error_status; u32 irq_status; };