From patchwork Thu Jul 13 16:25:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9839767 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 6252D602A0 for ; Fri, 14 Jul 2017 01:06:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EF7B2876A for ; Fri, 14 Jul 2017 01:06:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63AFD2876F; Fri, 14 Jul 2017 01:06:01 +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 E10F528774 for ; Fri, 14 Jul 2017 01:06:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8EEB6E77B; Fri, 14 Jul 2017 01:03:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0130.outbound.protection.outlook.com [104.47.2.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC5686E6B1 for ; Thu, 13 Jul 2017 17:57:19 +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=HVoL5dnFJyZHCFFCSiF19xA3H0Hfd6mH16yEyG0TamE=; b=QqKRDB4txQRQ1GKxudOFyG9y8bAATSPidrgzSWPf2p+OLl1cmFtBmfZJDwD2bR1d+Elv1K0tKCBF3Qq2pBuCDifXdwVJUHzecL8FwJ+ze32mwnAULz2SkPw1emk/ZV8ClCtCWsYfBSu+rqEP93Vdx+2I2/WjJQ9EPhqVTGKDGxo= 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.pedanet (81.224.168.30) by HE1PR0202MB2556.eurprd02.prod.outlook.com (2603:10a6:3:90::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Thu, 13 Jul 2017 16:24:40 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v5 14/14] drm: remove unused and redundant callbacks Date: Thu, 13 Jul 2017 18:25:38 +0200 Message-Id: <20170713162538.22788-15-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170713162538.22788-1-peda@axentia.se> References: <20170713162538.22788-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.168.30] X-ClientProxiedBy: HE1PR09CA0048.eurprd09.prod.outlook.com (2603:10a6:7:3c::16) To HE1PR0202MB2556.eurprd02.prod.outlook.com (2603:10a6:3:90::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 39413d27-f4b2-4641-6398-08d4ca0baa0f 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:HE1PR0202MB2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TWe7/JBkTIwelhT8xxYJMOm0rJQYfhQjOtDT/sL/EZ+BMxbI0PfXwDZ4PftFafDuhGnZq95sypan1+LT7EBUtunvt1+HtbwiD3ogP37v6gzZUPwBS8wD3d3ciH3HgZqYBW7YKHeaOw0KoqLSGYi0aLvpWsKQbOv8rwiTS6xMwrZOJknd//bW+o8BhJiMkNfF2vFGx37HI0WdBqaPIkarBaKZtgzEMtJW2andDxgrzi9bhKEfSvqGkCLx/CM7Gy93Ofjao8oWy412XWNhr6u2ZBxsw8V1fQS7kRvtR4Vu8wcdM1N/Tn3fX5OSTqceMgLCNuU4wr68FdDxcCrIgLhamaDvrvMHve0= X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(247924648384137); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(2016111802025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0202MB2556; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0202MB2556; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 4:qChZnEBu1en065eIFC3j57ugYHn03oqQyla7+tO8?= =?us-ascii?Q?0Lv91vf2jZ6m5wqL0Tin1+ioOlWibmHStBkqZ96TvD9KvtYoCrPFCpfBVRdw?= =?us-ascii?Q?lPvepYwedscZDBUSeEGBwFAloiJ5r70EiTkNHohmPXubTk4cCFUtEhtEifyA?= =?us-ascii?Q?TCEvfpCht8t5AU+zRanUXts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4Q?= =?us-ascii?Q?0BYlJVnoeXb47trfg7VaNpgl8xuYNvGN+mFrNZr+KoaPr0SuhWikZQanTBAy?= =?us-ascii?Q?SwjCX6PSheQjRpO0WF+gWAbTzTU8DoHxeJkKVbgKNxHYmwbeNmX3RSeg2IdS?= =?us-ascii?Q?1HW3H6zoap1hsNoaRhvtf5CzgqAH3/HUAx4v3a7BHVB46f2JuKLFwbMbZ0L3?= =?us-ascii?Q?2yXCfGqUa0q47up/NfBDxZqPtFhlpnAbV1GnQeMK82+u9YBTcW9v8PA5sY04?= =?us-ascii?Q?iumHhNq+zl1v2rbXCM9RUYOKBgwM3Yoyf1lcIGtu3hwn?= X-Forefront-PRVS: 0367A50BB1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(39840400002)(39400400002)(39410400002)(39450400003)(54906002)(8676002)(81166006)(5003940100001)(50226002)(6512007)(6506006)(38730400002)(110136004)(7350300001)(53936002)(6486002)(7736002)(189998001)(5660300001)(305945005)(4326008)(25786009)(2361001)(2351001)(33646002)(3846002)(6116002)(74482002)(48376002)(50466002)(36756003)(86362001)(76176999)(50986999)(1076002)(42186005)(2950100002)(6916009)(478600001)(66066001)(47776003)(2906002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2556; H:orc.pedanet; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 23:h8sTcZAk+sOKCG2YhcIIvXgfqOrsWrsGsva6qGs?= =?us-ascii?Q?iJXu2eOAA+hhzHxCKumeAo937WeuI7VgkneqlqYfh7Qj4CbFpqRYXtkOzKsE?= =?us-ascii?Q?5usW9e3rI2So/xPq+SRc2DpgS7tBt5i2j7m110bWvwN62/rMXROLG+wLq/ib?= =?us-ascii?Q?pcvqYBrdbKXTNikU7UYe3z2VYDNu6P0i6s75gwYnSeOrZH0D6QDp0EWM9rtO?= =?us-ascii?Q?K10x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lSWAyDiF0inFEP/cLRKgT?= =?us-ascii?Q?oe2QyKgQHc2DudMpltTyAzAuZwMIBn52wh0qP58MKA0/DI63iCrej7A=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 6:x5wChzujufosPzov3jlb34qtTikWuGrBugHzOvyO?= =?us-ascii?Q?jHEj1loySArOlvVVix+NcGvV57+bkEhsQfgrw691J2mL7rZvEVQ/2L4Ew7+T?= =?us-ascii?Q?syD0RbAdz5kogDDYKfwkg+grs0yUIM4M8YIJY5/bnnzhmHdoJj2F+2Jpsf2i?= =?us-ascii?Q?YxQ16kN46+eKgpUJbsCgSyh72J0b6fp0eoo+P0huNxKdpf42ufnne7UbZ8wL?= =?us-ascii?Q?j+v4fHzBDOM6Ip++qJZHERfmfucre4LqSSwu7mZ1i5f8Ad6z0LJpgn4y30de?= =?us-ascii?Q?VmSAD1BEyahacUUEToVWJD7gyAcElwh0lCQU5fvcOAR0ojO5KOiLYK10joxx?= =?us-ascii?Q?vESItqmQGm8S0y6w3rjUB2XgnM8D+SdOmL49U3/fC9iG/avXYO4tDHzjO2+u?= =?us-ascii?Q?wKPC3+urbEg1WzsqgeiH0iq/juJETZin7LBuj4AVhd6bBcGN1TtMaN5mGhbk?= =?us-ascii?Q?I1tFj2gTCxDaEO8ZjKf5hLK5uulwOQ8J9Vg5INF9b07mPdon9vHUwAzQftcw?= =?us-ascii?Q?8374tq8wI8t2nY9m+zhcmIUfSyVlOghpjIzXh/6iBPBIdU8qpJo0z1HLsZQf?= =?us-ascii?Q?vAuXuJYTUQD7ul4Cxxh7t9Jrqrm4kWkDUf6qrgiar588OALeNr6pL0H81KPj?= =?us-ascii?Q?1CEUHpgNTL63iBxWcSXJjCSI778sJ7tZRC6dSwlEBYrLgr6SPNNuCtyRf8yB?= =?us-ascii?Q?mSqgcDe6z3u/XgqQDpM1V23Rg167TltdEJaxtND68WoALxCuJsxojQSiPnvr?= =?us-ascii?Q?n3h754QmYi2+IVV79WzmabXUSaTcfR95GKVmX1N9xjm0yCio5uitym3RmcYT?= =?us-ascii?Q?6mTmP4c+oBdC9Y1S1ykJuDkTG4tY8OkHNG4Ua051HeJCDy5SUCv2/1Gs8jq7?= =?us-ascii?Q?CZ/B+EquBDhIkM7r4GlI0RqKhGUyEBdwlxnpY0Fbu5NtXjc6K97GiMOoW7NK?= =?us-ascii?Q?QnVVK4OAcgcG4SP4tpz9vOUZgPpYit+dkgQkC0RLYS5cHP5jLxaJWcTyM8Rp?= =?us-ascii?Q?d2Y=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 5:tp/V1TpC2YqqnptNQrRreoUM9WfWQxkUuFeVQT5xf/1n3BPlVgUCyIHR87S+BP0qVBx/rCJiejEXyf4uVwSCHjoxdx+IOG+IBLaVJFzvfxGelarr3drKtgwRCQ4NFDOnUrCpZVi4u5JJOkdGHxM0oM1ReIkHyXEqKwclQX6wI7bsM3GFexly/UUyW9Mo+hKz1/BH5uiDqm1WPPgJqAxUkkoGPMj2RvafoNZngP14nfxP4p6OZhzMmwkImSd+QBzpTmuxKGwsqZ0GPjMNF9899WUPBb6aoERhWUaZ4qr868TR2MA8G5CpYT+6MI+n7SCEcy3k6RdMBM21G7CtAc6aeWq61MC3LTWOIyShioz+B/qYF2mizMNGBZbQlo0BS3cxDz/JPTO166JRQeg+nqrujmgK5jk3tNSF8ui8oT+wZQc36I1xyD+xPzpsveod2DYyKzTjRT663k1KonkQa/zlqx/PERYecYqppO7Sd1+WwiDd7ctWytVL4y1nPelcFGqr; 24:sVSR0hqjcxmULAUejlQZwmyafUSczgPwoJCRqWiBhchuOEDg1+vG/HK1YZeUczbHyIM55LG0PHFl3aIYJCEyJsqZIet3WA15Q4RiSjEDPrU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 7:nK1cXOZsXGVXR2VdLms0R4Qfs1WcmDBEMREo9ZHPgJsmvNDPRsw5qvCLwMGMB0UIRLD1eAqiTsFOVpn2Sc14A3+7G0INv9BKEg7F63YRxJ8mJnu5rIL5FqTj/WX6/84xqhrZc4Exe91hS2ErPAUqwKD+xwDatgaXouWbj0wBk9XH3ApCj9KC6udriNOFkeqWZhY15M67iN7Ix4RcL4bw2efNr6U2MiGGA2f9WEkVLQL3vqoqo2QQKtqvA1GKHVDF8IhZMj61/2/Se98iBDRXqFHudE1o+P8a+ClJRGEphP3gp9FzmGWlZiSlOrJwrJPnui/V6z0z+s8TxJ7s97vzsc6Ulpz2NIW0uOwn0oLLxKB8C3V/mIy2Ylvzpv2pGG7OJ6RxzntCH0t+09zBz+7071kkzbAbtIr43us3Wl2u0wIqduj5YwFHKEqOxd+Pu6l9/FhmrM/pcxTWFEgtOHw9VJp4QFFaFhC107+PjveNzjVTbdQnnS1yz8ZJjDsMvgnTzl0P6eQKWuehsra6+r3eTCXpnVbBrkeYBT3T1iadSwVE3cfBNxJ96NvAeADZEnL6+XLRIFdeGZGhPi5EjTHHkbAqkIrSSUUPlwAiUE3dqKECE7DbDR61vtGVtEt4sZpwCHAnfvORQI1IU47EtoXocrM8lGlKTWfUNpWrOS9LPcHoWXOhUPoIF3EhtlkeIl96g2fuK4VPuCH79BQ65Lm/7FW2uTW2A9CDULB375/0jaou0ipaeDwc8K6RuIW6fMd/5Q70UB5sufcm9fALBSldAYQNt14a+awBrxSVzBS2dg8= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 16:24:40.6262 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2556 X-Mailman-Approved-At: Fri, 14 Jul 2017 01:03:04 +0000 Cc: Boris Brezillon , dri-devel@lists.freedesktop.org, Daniel Vetter , 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 Drivers no longer have any need for these callbacks, and there are no users. Zap. Zap-zap-zzzap-p-pp-p. Acked-by: Daniel Vetter Signed-off-by: Peter Rosin --- include/drm/drm_crtc.h | 8 -------- include/drm/drm_fb_helper.h | 32 -------------------------------- include/drm/drm_modeset_helper_vtables.h | 16 ---------------- 3 files changed, 56 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 3a911a64c257..0cc89623abe6 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -358,14 +358,6 @@ struct drm_crtc_funcs { * drm_crtc_enable_color_mgmt(), which then supports the legacy gamma * interface through the drm_atomic_helper_legacy_gamma_set() * compatibility implementation. - * - * NOTE: - * - * Drivers that support gamma tables and also fbdev emulation through - * the provided helper library need to take care to fill out the gamma - * hooks for both. Currently there's a bit an unfortunate duplication - * going on, which should eventually be unified to just one set of - * hooks. */ int (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, uint32_t size, diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index ea170b96e88d..21c56305df1d 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h @@ -85,38 +85,6 @@ struct drm_fb_helper_surface_size { */ struct drm_fb_helper_funcs { /** - * @gamma_set: - * - * Set the given gamma LUT register on the given CRTC. - * - * This callback is optional. - * - * FIXME: - * - * This callback is functionally redundant with the core gamma table - * support and simply exists because the fbdev hasn't yet been - * refactored to use the core gamma table interfaces. - */ - void (*gamma_set)(struct drm_crtc *crtc, u16 red, u16 green, - u16 blue, int regno); - /** - * @gamma_get: - * - * Read the given gamma LUT register on the given CRTC, used to save the - * current LUT when force-restoring the fbdev for e.g. kdbg. - * - * This callback is optional. - * - * FIXME: - * - * This callback is functionally redundant with the core gamma table - * support and simply exists because the fbdev hasn't yet been - * refactored to use the core gamma table interfaces. - */ - void (*gamma_get)(struct drm_crtc *crtc, u16 *red, u16 *green, - u16 *blue, int regno); - - /** * @fb_probe: * * Driver callback to allocate and initialize the fbdev info structure. diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h index 06569845708c..6cdcb4263a73 100644 --- a/include/drm/drm_modeset_helper_vtables.h +++ b/include/drm/drm_modeset_helper_vtables.h @@ -267,22 +267,6 @@ struct drm_crtc_helper_funcs { enum mode_set_atomic); /** - * @load_lut: - * - * Load a LUT prepared with the &drm_fb_helper_funcs.gamma_set vfunc. - * - * This callback is optional and is only used by the fbdev emulation - * helpers. - * - * FIXME: - * - * This callback is functionally redundant with the core gamma table - * support and simply exists because the fbdev hasn't yet been - * refactored to use the core gamma table interfaces. - */ - void (*load_lut)(struct drm_crtc *crtc); - - /** * @disable: * * This callback should be used to disable the CRTC. With the atomic