From patchwork Thu Jun 22 06:06:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9806165 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 085F36086C for ; Fri, 23 Jun 2017 10:27:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23FCF28651 for ; Fri, 23 Jun 2017 10:27:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1608B2866C; Fri, 23 Jun 2017 10:27:00 +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=unavailable 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 99C7328651 for ; Fri, 23 Jun 2017 10:26:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E4EFC6E77C; Fri, 23 Jun 2017 10:26:54 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0114.outbound.protection.outlook.com [104.47.1.114]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83439898A4; Thu, 22 Jun 2017 06:40: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=j7Y6llfH7Zp4LhyHvZyIIEaqRJC9mHmt4KbyEkoEh1qanViVaLBwEGO9duXvX6MtXUdEfIowtUur758YibySDrhmqo1qOUf1j+m9cYGijQ194fktRpojP40UiOZChaxQa2Iq8iEHmsirQJcrCuN9qNVugo2EeAoSo7Xju30/+5c= 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 HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 22 Jun 2017 06:06:40 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Date: Thu, 22 Jun 2017 08:06:36 +0200 Message-Id: <1498111597-10714-14-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498111597-10714-1-git-send-email-peda@axentia.se> References: <1498111597-10714-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: DB6P193CA0003.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::13) To HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8cd25f71-449b-48d2-6837-08d4b934db3b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500055)(300135000095)(300000501055)(300135300095)(22001)(300000502055)(300135100095)(300000503055)(300135400095)(201703131423075)(300000504055)(300135200095)(300000505055)(300135600095); SRVR:HE1PR0202MB2553; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2553;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ro+o2cA7oYjOQ160koDPdniDt6R3CPcfOnfcfK/iPRNU0UWmFpd5HV1HO1r/vcft4023NoKWLyaK31cXhyN4AdsyltODiULwaMV/WTNCkWdlCnbKqhYa6HVXlDI6vqfPU/uGJYjXO3zE8NNDmzYJ/sRVba2uRMwsnRAvW1aPl+I2ucqf9ne3Y0nG7AH18oAg/lKvZOgtCWeU9760x5X2vE4ar40gCCFfLcnj1Fxf+pAM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(2016111802025)(20161123560025)(20161123555025)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0202MB2553; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0202MB2553; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2553; 4:lB16QHyEihF6jFG3sZkzQlImJ9w765UjJIsfp4r1?= =?us-ascii?Q?1YpuI/0iHkcCOR9PBkhPpBq3TeX6cbJHW9gpoQ6CMmJSY7FyNFkHP2tROapS?= =?us-ascii?Q?MfqqsO+wxZ2SNi/1Nv/hyvdrZiuy9LO3rxVASc+sPwoEgBTqNXuXyN663dAr?= =?us-ascii?Q?v3LVHx4bKQAKelPeYDIJXJraRFnWEwGhfmZKBNcdnaBuILwHj3j9bGTOHpzs?= =?us-ascii?Q?uxGgy7wYNW8aSh/zc/WBghY16L830zvahaBkDD9Br7+ye/dh0DWEy3GBZ3OU?= =?us-ascii?Q?03nYD++ekimxMfaZ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Q?AdoNjHWXsCu85xRgsE3Mg2AoL0DZrEkUvtGr?= X-Forefront-PRVS: 03468CBA43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39400400002)(39410400002)(39450400003)(39840400002)(7416002)(6486002)(5660300001)(3846002)(6116002)(76176999)(36756003)(305945005)(50986999)(2906002)(50466002)(25786009)(478600001)(66066001)(42186005)(33646002)(50226002)(48376002)(2351001)(2361001)(6512007)(54906002)(53936002)(8666007)(6666003)(81166006)(6916009)(2950100002)(47776003)(6506006)(38730400002)(5003940100001)(110136004)(8676002)(86362001)(74482002)(7736002)(189998001)(4326008)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2553; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2553; 23:qZeF5r4Js5UI7EgIa1ldxjkvs2hyQ7fI9YTk0YQ?= =?us-ascii?Q?pVBD2SyQ/HdhoFuVTb2/MvtnJ43grcCls2O1DYAETCN5LzmIxILhQ2jSeM2q?= =?us-ascii?Q?mXYkXUBu5IfIRur6tUYGioLbhOp6YwC70DkFKgk6QazsXk35iP665jDI0Hxi?= =?us-ascii?Q?H/0ZQYWMiNBsYXg09KeOf/AffCZN5N2Gqsd9bFYECmYdhiZiYzwkruB8Wz7a?= =?us-ascii?Q?ORSD59bJ73vOFVAMEpbev3QxBWngk08rQ126HwNu3umokqVfp09eI97XNXUT?= =?us-ascii?Q?8Y6mBpZ6in3+YBpqgREEKxeuzVHRgQzLo8arQAW8JLpc9+tWeixGtPwsAbD4?= =?us-ascii?Q?DiOZWawpYdbUWb+fKTSps5CgBfbb6oSAbOwZ7z6QaUWq+sgTYuJjSH59ubSq?= =?us-ascii?Q?114PY/EsfakCCqQOv/A/sNIpfmQD2UV7ZLG8vHKDRB28YEQr9RPe4J2hp3Pc?= =?us-ascii?Q?pqCvtepUKki5nb1TNjL/aynbyPIIRcNqvW/fB910sJP0DffoIH261ZkIVEpK?= =?us-ascii?Q?5IrZjb9IQGeNRoXj5xl7m2purVWtwMwuD3vWtsLnFXII9zOuJURbf4SV97sS?= =?us-ascii?Q?FJF9yMZvmhVnLI2118ibmZTHB//vosmf4Y2sSaB0IQTekOfZWLH5WZlFoNqr?= =?us-ascii?Q?AbtR+cDP+vWU4+pUYgT669+o/Y0RGZflFMC59xgjYsPsdehIslK6Ben1tJSI?= =?us-ascii?Q?kRbJxAP1Kz3fnYW4v+/suL3D4kWAbEkYPbc3aVfKLO1J2H/eq+R9nwVge8/6?= =?us-ascii?Q?1ZtT9gmvco+Rd+gJ/xzpBqWqtga1Hs6beLuzIBvZw5LqcsBx7nM8ewh2G0+8?= =?us-ascii?Q?4eRBOWokkmVjX2LZVCJ40sj42VxYVMoi2yglP90XH3CBHVRQaewPnylToDxQ?= =?us-ascii?Q?GnhOv2kMd4/pIYh8CQyftR4W16GCINNZMg91K9k+7fXwNTvlRVErMccU7MPs?= =?us-ascii?Q?GEdUAJ4lAs0+7t9j2qZQ3MtEj4MnMa3lLxmQqzsiva6daT8Xv7MeGFsqr83R?= =?us-ascii?Q?3s8Gmd8Azc7EoSbDj0UEB9kHTn9tZBb1cpLMEzipA8rNVJrztDSbYEDYEdtW?= =?us-ascii?Q?evgj15fP1m4+7Dc6/lrC4dnW1XcS3oz98fdMhx+g6vFWGyzP9jVPUlskwqfb?= =?us-ascii?Q?08ZnW/zftqTejfnBNpQA0fUba4R2BALSc?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2553; 6:iNGGHcYcCDnaHYpkUAqCoyibfHThA6StosKiOipf?= =?us-ascii?Q?m0pib/bJqdCNJsAzzETD7aY+LVEZOHmrT0KWmi1vMSag85Y6R3g3Nm7DpM5U?= =?us-ascii?Q?wK9Hv69RN86KmNWCREy2HYc374TGxV+ff9ojigX8kBk28SDsK7SLTm0fBb41?= =?us-ascii?Q?NLbfRyZJpCzYEuj+CYtiPghNR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2IuLDtA1HqpvKdRrnawQCmSuGkn6N27Sx0VuSwGD7y3aVq8Y7SOhWHCJoD+Di2+S34kXBWU1QQEZGNBBtIj5lpsy/nOSjEqA6Mo9OeTefWbobeGdV3z3HMLHrOdrbsnPnjwzlsIPSNp2YIuvlt7yjKYDlDRa56emliifYkXYoDIZGQzMgOE2Ub3pq8eVbLFeOX6DYXy+IHhpVQJlVe4WYTZseqs5ZceNhkXYT3CzBrT1NJVvbP3rgnAOt4QEn6rijDFiHeUaI0DPVkR6o33FE+S61oSBqJc9lOHNlszF+jyEIBde2TEe2U9MrRTdyxB+e+3WHG37xczTG06I+ttWSwVsObm36dpY9Hzy3QuuWiSpHKYhIPbxpKneERHOMdPUhVq3lxcIBhC3k5gfy3eqrNVdrgQXfpo4YVE= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 06:06:40.0325 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2553 X-Mailman-Approved-At: Fri, 23 Jun 2017 10:26:43 +0000 Cc: David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, amd-gfx@lists.freedesktop.org, Benjamin Gaignard , Daniel Vetter , Boris Brezillon , Russell King , Ben Skeggs , Dave Airlie , intel-gfx@lists.freedesktop.org, Vincent Abriou , Philippe Cornu , Peter Rosin , Yannick Fertre , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , Gerd Hoffmann Subject: [Intel-gfx] [PATCH v2 13/14] drm: stm: remove dead code and pointless local lut storage X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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; };