From patchwork Thu Jul 6 12:20:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9829281 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 BE16B60317 for ; Fri, 7 Jul 2017 00:44:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEF411FF82 for ; Fri, 7 Jul 2017 00:44:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A356628549; Fri, 7 Jul 2017 00:44:04 +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 30A2E1FF82 for ; Fri, 7 Jul 2017 00:44:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B881A6E6E4; Fri, 7 Jul 2017 00:43:16 +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-he1eur01on0124.outbound.protection.outlook.com [104.47.0.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A9FA6E1ED for ; Thu, 6 Jul 2017 12:34:43 +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=ah1FyUqkV88ogEZ3IggUBp33WS3N0dOOPcnmqiPCyb8=; b=MKQ8/gkPOP5HJBEMhLhTA/UnG6IXdPoY2oAza9j0w4g99Q1+SWHhhKw5khWrPlXzvisA7doDWbd4AihCEny999+b1P8oUCPaYRTuLrLzbT3cYFziXCqevA+0u4AgXiFLju+QR3GbHNyt5s2GjdCBQTeuUUBwXjEG5GiZMEonq48= 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 AM5PR0202MB2548.eurprd02.prod.outlook.com (2603:10a6:203:6d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 6 Jul 2017 12:20:02 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v4 14/14] drm: remove unused and redundant callbacks Date: Thu, 6 Jul 2017 14:20:48 +0200 Message-Id: <1499343648-29695-15-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1499343648-29695-1-git-send-email-peda@axentia.se> References: <1499343648-29695-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: VI1PR0801CA0084.eurprd08.prod.outlook.com (2603:10a6:800:7d::28) To AM5PR0202MB2548.eurprd02.prod.outlook.com (2603:10a6:203:6d::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f6cba60-b18b-49df-fa2d-08d4c4695441 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:AM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YbCLdEmyOeOgqnrAk/4fhILCl/PjIWMMheYtNeVYlZkZQltX0m48e27cYGcS0ABWVq2GRDWa4BiQkW81j90YRo/EnQnPJoY1k9V1uCODH2guu9U7/R4Fr03Sw0VE7P2uUQG6cKXlvenZt3wFeeD6u679Lr3Dzkd+XoFIcqaRrIL2SfLSJJa57wKnAaEpak7HNJ5qhMGEvUTwoa/b8WHonA16MYxYTfnbbR0TZ97srZW7PcHtl7bg4qknDnNCPxTkn4REL2TEVVhqmtnkrsf7v07u4DSG5yf9CBotnEkTIINa7L9fb3o8u1uImFORoywi6nLeTfN5pemKkSXPfViN0ALWjh2tuot3oWkgyPBBAwe4+DI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(2017060910047)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(2016111802025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(6043046)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0202MB2548; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0202MB2548; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0202MB2548; 4:6840n0ifv/6KijblA4uAbKgcQ2x95Wy5Tmpi7bTV?= =?us-ascii?Q?9Gf0l2tP+26mziTu2GcWZ4qAebh0dmHmmb/Do4VufVS2yxrPQ8uVmm4OwprM?= =?us-ascii?Q?g6x9BKeulJuAfq+qC9fWJLG4WTqhiPXPHBH7aV2a2o5ufg6/pS3cW5tNYo7h?= =?us-ascii?Q?ylzm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iyHK8cC4XC?= =?us-ascii?Q?yruQgP/DSZnk9eXfmbbKjNeWyW6Ordk/SYsEOyHMAb637LpsIshjca6s7TCT?= =?us-ascii?Q?Lbbe/AWoPqqe/6K+GufUa156jSIXsEUjfpL7RJ6rQrfQPyjlKOyTCg8yUXos?= =?us-ascii?Q?37HOP925mvf2Am21KwV4JmQS3AG/jmSlB94E/c/URdOkrUfsvW6mA16QPIg/?= =?us-ascii?Q?2HLa/77+Ye/QbWsklWhdz4bmUH6DeiOUnFaad8/hNxPvw/0+KqmRTdobKpXQ?= =?us-ascii?Q?p2/Y5tuZAQ3Bl70KZAFz3ulZqqKCxeTMspJrs1LPEmyC?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39840400002)(39410400002)(39400400002)(39450400003)(43544003)(6512007)(66066001)(33646002)(5660300001)(2361001)(6916009)(2351001)(478600001)(2950100002)(6666003)(54906002)(5003940100001)(38730400002)(42186005)(50226002)(47776003)(110136004)(6486002)(305945005)(50466002)(189998001)(81166006)(3846002)(76176999)(8676002)(6116002)(2906002)(48376002)(50986999)(36756003)(4326008)(7736002)(53936002)(86362001)(6506006)(74482002)(25786009)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0202MB2548; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0202MB2548; 23:ZaXMKnXD2EcRyPvjc6CjAO5NUWK3pp2Do68gyOq?= =?us-ascii?Q?ITPJoXbA0ew13jEFUrngmipuB4+Xi2zqJjAnbNO6YVRHmwFYiNn5JEyEqhBv?= =?us-ascii?Q?BxXP/FlreMpEVHsiwBDupB+QFbfTli+woHZfN2GtdrAfcWWjCw3pSrGNo3wg?= =?us-ascii?Q?5gOhxpANT3Xtxn9VwEZ01xRGXwG/fmRohXxta8/blAVHP+p1O1w4ZcFtV1Tk?= =?us-ascii?Q?y67oEoLl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fp38VJg8Z5Pq+ezlFTyt6PzzDPkWtYbN/hwF?= =?us-ascii?Q?xVNmnlcVNxASlR1pagEIZTpZ9HSRZyt+EDHhjW61p/CRY5mOpcOCAzqxSOQI?= =?us-ascii?Q?YOHQLphD+H38dgMc+a5euXHAK9aCU6jy12XjlAQ2GDw6xEJepcC0fKdPqoqq?= =?us-ascii?Q?cxPhHMMT3B3J1atxPApGrug0M2hxgaHPLE1EZThMYKMZg2EXfqduxGEQ1E4+?= =?us-ascii?Q?3TE=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 5:nWt5OCTdzQQlqNdOl/exRffkmhNk7DhlfoHY/lbUoRJT3rOjyKNr5SeHjf0Fdyuk6KYTOCdedGYLuDsKvuwpVFOpqUkQ5AvWTWp3Xtb1joS/ITeDENB7qhfL/cTDiAvYMQv+5jgtlwjiHZln3xYzEYvtCzJAIEb3W2IIwbvWnSLpxH5NhusmQ4C4Zr5vLub9uRmON+dooqDWL1WVDBz1xLLewD0X5NYwZOww/OrNCjvwXXPKBnNtpbDVn0lTjoDqZqebv5L7OmdWcXbdKbuxgLGnXnjJUAbHe2lcqDiA66piqbm1OGZQc8kk8723ccMuJJXPiHheE7sWgmayCWZwe230Ft+SWRzhxTY4gHn/ZY6R54f1gVu7GijdWH+H1kyKcmPtNq20y2399CmtdlMfrXWLBL9ZSbFITVIyaJxP2rBT3Gytp1vHSZKWA0hO1tPXuYft7k2OCdkyKO5kCUljD9nYd+do0/+2Fv5rdSSPeBUWPM4vdrTmPV4c9b3/Si5T; 24:Ps8FSkN2y4X8uEUUELoPNzdSisQEjxtOacECpitN4/9aMhCTyoiIirnt2zRSnTEgVRJVYPOQN5FB1GoIqerCKHE/ZJZ38z7fK9SAIlTtfzs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 7:sXkyzfitqvvVMp6aj6HmslBQaC19BZl+Uqwr9PoXGWQ4n0NtJUER+O/C7JiSpl9LUUSqOm9CTDEz9Nv3QwIyOZbUAgKiC+RvjhlXJDUyecwti3KrJqMQy7tU/TwIWd8v3xI+ldHmOBxKY1I2i8yoSYJ+KQNbKSYdtBhM7rA5k+Ht1eCkrNZJLFl7z0JH6DKPAv7IURqlklbWNt6DuVzV/FbgkNiyb0+jEejRRBO+tHaZ6+Q4oCQOpr2KAZn/FJveNMWIfIuE2SBi7byj81VVSNAjmmLYirakLfwaSD8/dfbed/SfJNpoyITGXxrjelrVZvPG77ZKrMIyAksow7ArSaE+vmcbaI3vhUPgPKw5WvNn83sSE1VFJdhXS/+mnwzNt1OR+qDiMb513HhwzGupLwNeZVyhXZp+Oxi72S6uj/PR4kEyFNqSJURfAQ2rfvZCqVoKqap9hyejadS8PjL7dSDv8URDchHzyJof+VadJpNumdcTJtVlgGFHqIZstFcxnXE9mdLtYQh9wczIHCHdMSeDHsOowYBFL437TO2A8g7Y+KpqLkwrscXodU5jC8qg8O3h6DI/Nq/DKqdT2R/skCjQy7vjhiRt2wGP71RwMRf1tb1CjxcX2Dwy+LY8MBGE5AMg/yU+k9C1eLLITkTR6feGUOy7dA6q3iN8NHR7MlpMPvlgWVhknEk+/x59ns304zgX9bNDU8xip1cqwgonu5QeXniaOzM7hTOg4MQSuSOp7PrHXBvgfDNuxvvSAzdXicyQTEgwdLqNVDkJPA4T1addoF+NJb9a91AfLuF24Ms= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 12:20:02.0458 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0202MB2548 X-Mailman-Approved-At: Fri, 07 Jul 2017 00:43:09 +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. 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 3a911a6..0cc8962 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 ea170b9..21c5630 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 0656984..6cdcb42 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