From patchwork Tue Jun 20 19:25:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9800519 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 700EC6038C for ; Wed, 21 Jun 2017 01:00:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65B33200F5 for ; Wed, 21 Jun 2017 01:00:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A14A26222; Wed, 21 Jun 2017 01:00:22 +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 CCBBE200F5 for ; Wed, 21 Jun 2017 01:00:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5325D6E41C; Wed, 21 Jun 2017 00:59:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 10800 seconds by postgrey-1.35 at gabe; Tue, 20 Jun 2017 23:58:32 UTC Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0093.outbound.protection.outlook.com [104.47.1.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2814389EB4; Tue, 20 Jun 2017 23:58:32 +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=NNyoF9VmOefb0WhMxnd9j7tOlIDou8v5VaTF0C7Wuz4=; b=DYskHvvg0Qi1vEE+2o3A37CeYGB43rZmjPlvrtzoPRxvABlOkFJMS+bSYqX4BAPmG9wcFZZjs5kt6YY20FDXjN8jLBog9onZp6XR7vkMhi2v6+SnkJBzxcjfOvJOUz+k4JNTH3x4CBC81z5FqOfMniKLMTK4MWf9LotSfJua/uo= 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 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.1178.14; Tue, 20 Jun 2017 19:25:34 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH 11/11] drm: remove unused and redundant callbacks Date: Tue, 20 Jun 2017 21:25:35 +0200 Message-Id: <1497986735-14418-12-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1497986735-14418-1-git-send-email-peda@axentia.se> References: <1497986735-14418-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: DB6PR07CA0081.eurprd07.prod.outlook.com (2603:10a6:6:2b::19) To HE1PR0202MB2556.eurprd02.prod.outlook.com (2603:10a6:3:90::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9dc61094-6051-4b6d-7e12-08d4b812217a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075); SRVR:HE1PR0202MB2556; X-Microsoft-Exchange-Diagnostics: 1; HE1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zkOqYSFqV4Fi6WzRipEBvrFLP9/0quJmVhFrwjBNz0XzgquG8v/0/0qRFzUMH43hW0= 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)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(2016111802025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(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:hEUlIqao75XrkP4xG+it1u7+kHY2yHLRs/YRBqjj?= =?us-ascii?Q?2ZTYoIDLH5pShIQ0fFE91oz1koCtB2TqtUTQleoONB+WW8YERhJDaJXfZkd9?= =?us-ascii?Q?lGbukWjGPIGQyYamJ9c9qT2e4QdRNIkiGTxFu0WujB3hSJ+SrYfzsP8gkj/i?= =?us-ascii?Q?ZKc37f5gKi+TNLs5DobqywFmpRzr/eG0kXa0afUnjkMhS03euj2fgV1FNRFY?= =?us-ascii?Q?EyP9QYdD/8bhALuoKvhUMDe9Cz/qG2FQJ2R4cPjYjiHeI2vocpJk3Jl8OsHI?= =?us-ascii?Q?2PWGcXNluKfXshX3F+i2qwl9Q3fk9RpjSgNk5EU2LYpqRJ1+U84vJVROsnmR?= =?us-ascii?Q?9xA5WyGHz+RR8uPz0kttYB7O9uNouqttMaulwoanyMsc+r/NYcAtOhAQLUQ7?= =?us-ascii?Q?bmJNTVeeSIITaXPAxoWFiUiWVuwYrOMurKMNohIjUC3IEexGf0tk9kmIl8DC?= =?us-ascii?Q?E+FrPuiu9huOBz122hcN2Jz8jd4r3tPxZNI2/ioyFp9vGuY6V8IEk5F2vqS+?= =?us-ascii?Q?hQo433exSljQN2WsN04SJigQ8CcbO+xZ8ePFF0Ga5Cvk6vdET6CPux+AN/dm?= =?us-ascii?Q?bAXsxl7+W/aIAD3J3ABSnpFCnSc6exI4op3rtkzChvUa8YA7mSt17AaF23WN?= =?us-ascii?Q?G+iZGZRtdYMusfVvkyd9nIYO1RjTm3teEgp4/b+vsxNpHw2HD7OtmN1qB0M7?= =?us-ascii?Q?7U4GbTd2Khfu+Amuqd0w09EcjS9/ySs/Zxjc9/lN+uOIv/bwyd149VVta04r?= =?us-ascii?Q?BupbnjZlF+nRqc3dja66clo8Snq7UVlsFUL+l82awSypF7N1HlkC4Hu8VuvU?= =?us-ascii?Q?rJBIcYRNlYda4+RbDKt9Bfhqfy1SA/BrIBdUKMPOKg5iGuy5uL2nY33uMCPy?= =?us-ascii?Q?U83WoKFh+l2TIZyyGm6WhWmRBMSAQ6pOM2XmZ/66b+cdgbmMEys+0p5enr4a?= =?us-ascii?Q?BoZ1S1G7M0UTgkywr/XaJUB2MXt47MBM8mwR6eELK+J0f3HbN50m3cNrj99M?= =?us-ascii?Q?GEQnwDKGxKwz/hrVQPc38iBJpdZjJWqXNh+4iJWaQHV8Fwd5OENJrAOURGjS?= =?us-ascii?Q?ii56LFmGNu2rDsa0bt7bExQfHsHOhJf2bUdkQAdW+lxrHbzaWA8neiEttH3W?= =?us-ascii?Q?naEr5vnX1Zp8YlL4uFb2b9DEd7wZiNeDYnQqxVwtYtOjV4/VuaotQSJeriQ0?= =?us-ascii?Q?/scbd2POaxT968BcpGzm2hmhXAwRDXtDxPHt?= X-Forefront-PRVS: 03449D5DD1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39410400002)(39400400002)(39450400003)(39840400002)(478600001)(6506006)(8666007)(53936002)(2906002)(8676002)(7736002)(38730400002)(110136004)(6916009)(2950100002)(5003940100001)(74482002)(305945005)(81166006)(50226002)(42186005)(76176999)(6116002)(50466002)(50986999)(4326008)(7416002)(25786009)(3846002)(2351001)(2361001)(48376002)(86362001)(54906002)(189998001)(6512007)(5660300001)(6486002)(33646002)(66066001)(36756003)(47776003)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2556; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 23:FLBeRsvA1Xo/mtiYpSz3nv7dTZMJHVKmOoA9p7J?= =?us-ascii?Q?U5ZCEqpLIOvgJatyc5heaDAEjjdiCqlawkhOPnalclpbPBxaU/cpyzAX3rku?= =?us-ascii?Q?iqiX40fUAv52VBTSHf0VFNmrTrsPxlt7YXuRVSL9hvaxazFa6M3NSCgMHIQR?= =?us-ascii?Q?BsW9n5JLXZdv8kaiD3I0n3nXSZrEZwgsERy+0Bclvcg9myF1s6cZYK+2jzfD?= =?us-ascii?Q?wgfPblGpkjB1nOf5CBljjKfoX7BvinU9AsGDz+eMOFeWyD7BoK6Fn37JyMdS?= =?us-ascii?Q?Xd120ibB/ZEl7gmdfqPDTw5D7T4b4ZLez2aO6Wz8Kwnl5V3iH0CAv6ruByyf?= =?us-ascii?Q?6cO73MfqpoR7oFb65XUv3wvCUKKY+0FTAu3G2X283nNFmFqdL3N2MRKVoDe4?= =?us-ascii?Q?65CxOFnwbGNxAjf8UwBU3GeHXnZcQPs9oKcHe0EdSN7hqniLYrVZi3wEOS/2?= =?us-ascii?Q?1lQBOtnG4p0BCcUPqVkn2QDdvnKCZtusGxXVqq1OdXm/glS9ADeRbBMNFhY4?= =?us-ascii?Q?DfYRBVv+tpqdLb8IPRK72w8dsK8HolLH9/zujiKXc2aZHkKaHTW3foDWjM8i?= =?us-ascii?Q?YUAPW7NgcjTOngAsbAkNhsJzYjQJgWk2TUHGyI4eJJ7hody5YPnfgCmyOvJH?= =?us-ascii?Q?+khFBp1IibOMh8eZIVOwQiueK6aqcBqm1TNjtl9qrc62fwLBYO8ggryJ0CAo?= =?us-ascii?Q?DotLfNShcViuneMPXuSODtXFwy7D3ZonT5nt27s4NuKx+Ymy6SzCjOsH4DEy?= =?us-ascii?Q?dNBC5XCNmJaLuCeLehLkBdbDV7z1pR4bRe5dERXOcvWradzdGfcHDJ69HJT4?= =?us-ascii?Q?iyLahjRFtk7956N9mpS9gzN9PDxQWiE0za1Wpm/8DOtgBRK/aW4Dq12PA12Q?= =?us-ascii?Q?puN2zgQ/54/ORT+ukEkq0zoRpZpFBZfpMVLBXj7kOFpesCbNn5F0hulMOAVw?= =?us-ascii?Q?ZWU3YURBvQDWpMjYFbN78k4SSglrKib8eHTFXFFN1+myo0vu7FO0iViL4kUG?= =?us-ascii?Q?NRvSBvcfWgApf00WOYztNFmkMaiGwdl+70U2qKHNEvPLzBiGgSV1aVlZXBXM?= =?us-ascii?Q?5AZ7S3O4+slYuD3F28ILhSVAwQrIQKRBMTmGu4WrmglWa2D3/GRmzQnyfXSD?= =?us-ascii?Q?cLITWZ4YXX9A=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 6:KDhy9X599Kixys8ZRlSTnGrcveNnPk2Ld6Mgt9Bm?= =?us-ascii?Q?EuWKTMTlluW+rLwMZDf3ASXb2ev7d0ujqX0PkFdc9og+zP7oouQqbgTTbQFO?= =?us-ascii?Q?8wISDJA9ZX96Je19wkHcxbMCieujQKEsV6WE/SL8mYe88ZAGOGQSAn9geuPX?= =?us-ascii?Q?Vc+wjQWYXOUaXvO5bvG2OUM8OufWjD3KBsXlUAw6NlPw7XbVx7PTOP31dToM?= =?us-ascii?Q?Zwa+dvaXLBM/K5ziVvHXJ9TZCpfnPAFnlauCLRFc919mNJXoA53POTRTJUOh?= =?us-ascii?Q?SsxgS0jLkz59q9CVFV/zRlvtqyhW98FdGDO87XKXzxIVi0JrQ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ShJFd0bF7HF1SahQCvW6DqOJvpYGqYJkX0AwhL5iACrq+csw/uC8cwXfsD8VCXjgC1gNPnnSRqHVjA28zkeGpDXhN5e/0HIKhU+UCmWWXeKBuzN5SIi4Wbn9DjvTDSs9Xys7qcxT+aasim5Mldnwb15I+73XLbyqZAIdjgV8TbbRPJhpXCU+an4CoQNEww/CR3ylHKXWu4Wr0rxhIzCWAV7s3XlUptxXDmoFEBxZkqUfhM= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2017 19:25:34.3086 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2556 X-Mailman-Approved-At: Wed, 21 Jun 2017 00:58:52 +0000 Cc: amd-gfx@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Philippe Cornu , =?UTF-8?q?Christian=20K=C3=B6nig?= , Yannick Fertre , Gerd Hoffmann , Daniel Vetter , Alex Deucher , Dave Airlie , virtualization@lists.linux-foundation.org, Vincent Abriou , Peter Rosin , Ben Skeggs 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. Signed-off-by: Peter Rosin --- include/drm/drm_fb_helper.h | 32 -------------------------------- include/drm/drm_modeset_helper_vtables.h | 16 ---------------- 2 files changed, 48 deletions(-) diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 119e5e4..80d9853 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 85984b2..0773db9 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