From patchwork Tue Jul 4 10:37:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9825741 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 4C4B460353 for ; Wed, 5 Jul 2017 01:18:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20A3E22AFC for ; Wed, 5 Jul 2017 01:18:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 153F92623C; Wed, 5 Jul 2017 01:18:05 +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 748BE22AFC for ; Wed, 5 Jul 2017 01:18:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BA8D89DFE; Wed, 5 Jul 2017 01:17:55 +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 2A89089D4B for ; Tue, 4 Jul 2017 10:36:42 +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=anvmbkGzUTJTDAhyfGfIEERfVHu9YNHZhV8egOs+an4=; b=c7hnr9aamqT69atO8sLOZEHwaVyu7PruKZpum33X8yhYQqBIc0MVzTPENjcOS4/vTSCu5TsgOV/fz9eVnnn9GDCIV8Od95R40OSeXshnW+gCDZfux5wXlhRbMRCBLgodKESslxuWKJ/d4SprAz26YBtkNMxWP85qVVs/RfTYQMw= 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:39 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v3 16/16] drm: remove unused and redundant callbacks Date: Tue, 4 Jul 2017 12:37:12 +0200 Message-Id: <1499164632-5582-17-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: fc9eaa72-94dc-4e83-c39e-08d4c2c88e75 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:y50vtV5jbXwHlBifPiBCJqHmZHCgF02G8koQug8qTlnMT0/cCriypynlZKil2dVmTC30T5w19Dr0sDFL6ZWbFxxd+Cg1h2eqm7JFpbGb7Q7KDo0R/uYW8OMjztJNRMyHwuA5EZVyD4alU/oztDPIkBria1bWM16+oxnfbXMgBkeVwqZwOElgatTd5HNZcJ6a6Uj3Uf3Avidi76PDxSa2X9ef4N3ITP40OmpkXbEGX+VhmAu+gh+VBjnHTx0G1Z4fiE8vlNYsjDRDvJH03meuXwAJPzq3VCvt4VQUBQZcgvp+6Md1lVsXpu8sIUkT0TthoLUBsGK24AjEI9uCKc1nVPYL+EQFi9DGwlk6SJViknEiJwLHhXrBbRqA+610pqZ+gTeSMlWacKX8VcL55zgxH9CYGgLUKlLwSr5zCA9VdeJucyvngxZ6HUWOlrNetb1SuUs+i0NPeNewP8frXEU3/CTTh8BuXxa1LQfhXY5rxWhj1lxw9iQBHJ+YVTbABfal9JLLh4MrywycnNQ/vTmQEYJ44c2PSzIaHBIzKuI17L8JlncJldPSSPTiaQrf5pDECUfxEAWUOuwazp1RU+WBnvQGVhrUjRR/ZF6fxt28nxMlL0+cjkkq2NSvYhuC/tW1jtIfeN/nC6wEX3sWHCn8pKMo6tVUDN0fnn87dygQgI+of55PTzpWQZa7Huj9/CAAQpwEBdwtbrbGh471RYKWiA== X-MS-TrafficTypeDiagnostic: HE1PR0202MB2555: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 25:8zPcnqA32O5K8stAznPA5iqyLeYkWm05N2suq8NvrlXYGHJTLztsdtxLIlV4Rv8/6o/VBqUsTDiMRYmoZUKFqiGxZ81oUbfLvDbGa+oR2UFR02K7DI8fTe2z2vDmOi/WyEfr/GvlHw+UOsugFzjT0OJHrLGhNJzdwm6faxAcYPeMwlv2libWUM3MAuwBSrUuymLvFkGdtkKqQE3SsXxo+ilsKdy9Zy+kR7tMG2FbVtm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Pep1Zv5pVoguWRMCpgvYD71AD/Xrq/MNie3v/xL4d7bKxKKhtuL7rH2iDLE8Cx7+Ew+aKt5B5vovevyKWz4DVl2r4Hsxs/HjujLwyhWMmM/gT1cnH8b3kctGGB4kLUNCwx7Q/R4FPuUxFFQMAPLFZ9bWv6tU2O7eX7128B5Nj8gVJSEesEWW4VW4BV0AE9+b7y20yFB3fMB53amVwSNnbHQpIleQvzfX5S+0E2VR3CZqJ45Nq2EYcFBK014aX+YawgjOmXL5iV/biFDdgFRSdwHFnTuisB53Y6KKiSQRLvnD4sdejSg8ft/iwq9+kd7J9VtaOzvLcWeIY4XA3PI= 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)(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:nMwZ9e9m+qRv3mlo3YxEsPnzF7A2o+VjCa9HAczn?= =?us-ascii?Q?nhC9AGb1o3Qsmv4IK5aeM55gW64Lh1i+MkGmEpdUy927qw8Hy+0QZttxX8Qz?= =?us-ascii?Q?60DhI2NPpSE7V2HIzZ5ylIsQVTK4T+1tSFnCoQCPXHD5gU+7gQqLSQoB/N1W?= =?us-ascii?Q?p1MHTPwjuNwdmCicNJyC9ea0fT9A+EF37qBxYhMseJRakKfKTkVga7ktQj8R?= =?us-ascii?Q?P0hEI79GkuLaErFWaxVr+u7vOK/moBgZ2n5gKPZRFEXIq6AAFbD9hqmMgqcm?= =?us-ascii?Q?15MNZda4SiF9lly2ki0jffQxPMTqJsbT7kQe+8qH92JNQ7r58+wuT8aDUWmj?= =?us-ascii?Q?9dJOCgmDg8gtWQOokM362wSGqwmc0UxI4xmStY7mJmOKHeiChvlvAuSmWnyj?= =?us-ascii?Q?S8kw0iKV5vBT45CTtFfSIIcTozzm+dW3ubLAlQ15TRW/5eahpClterT57P8L?= =?us-ascii?Q?GQncLE9Gl/Q7qj+Blfbs2Zvhdz6Ftd4x4frD47jXOa/Crh9i7/PugPpYcZEJ?= =?us-ascii?Q?cA/Cnqtumw8H1j2E6W4z70zwC4ALnUa4WqgfQYKUG3Qslew8ZobzOMIolDog?= =?us-ascii?Q?KaVlszjD0YLaujM7VkFeaw/HP11mJma1HJcAJOaZd6gpjjqwLUFiUoY1moaY?= =?us-ascii?Q?IN4GHQGprV/fjfypTslxIxxboMOei2VAdNXjeeyY8U4J/szD2W1sGbX/2exG?= =?us-ascii?Q?cvMN04lqqLDt6Oe0i03qbcFj8XAXf+nnHFJtERx3baLe+xMs/HFL5XNyhGEU?= =?us-ascii?Q?sFGmTY4RIMDjTV5gOh3vcH09T9cI3Bnus58Mpb/HYYCLkyushlH4wA5/Sqcj?= =?us-ascii?Q?jgaKT57jDtP2KzA4XDtXE97/sSxkkPA1sggJMDYhMJzokSSLqKDiGil0D7o2?= =?us-ascii?Q?iXEhYkilMe/dFirFw5077wtsipzh5OiAPo5xR30DkRV7OVps0DDSIM5AMl8n?= =?us-ascii?Q?dkcaVTGFaFe5w5OMPLpvuBCnvM/djUAQjWHruKLYpdDmoI3AQdL6eH6x/6k+?= =?us-ascii?Q?RhMC54XSTE54j8V6xSGIzG3GV9flmCRUHBKyMWs5ZdnbkOmRGKhI8VVQwsCC?= =?us-ascii?Q?ZDGFxl+q/KXBwXbJVv9bV43OQB/hy4QfXqij+ES9LhTHeZ93Cbdz+KPjISMb?= =?us-ascii?Q?eGoomTqHuYPl75RXmFGp+RlUkWXh/9KxeyCEL0AjvICUB35j/jWmY++aNy6h?= =?us-ascii?Q?4+QN1lKUQrHlse+dg8q9YYwiYpbcCMUsTGXvsNaLFg2UCpGEs/Cbo0CNeY5K?= =?us-ascii?Q?HtDkWqZLLRN/dVSujDLJ/k3+tLab8nkSgHky9lTJtH7Wn/Pu/QSDurG7LcnK?= =?us-ascii?Q?jZIIY1E3KRnLmbbK0qI/OKQ=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39840400002)(39400400002)(39410400002)(39450400003)(43544003)(8676002)(81166006)(7736002)(47776003)(189998001)(3846002)(36756003)(305945005)(50466002)(6116002)(50226002)(53936002)(86362001)(575784001)(33646002)(66066001)(2906002)(478600001)(42186005)(2361001)(74482002)(2351001)(38730400002)(110136004)(4326008)(25786009)(6506006)(6512007)(54906002)(5003940100001)(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:xzccZEKWoGCUkxmwLEVQeF96oV3iL3iRXWPrydm?= =?us-ascii?Q?qrCDZblotv2R4LQucNP3zVC1erSkWwR1CUe6WWf7rKJRAS9Jh+LT/H6iRY3f?= =?us-ascii?Q?ULorpUvy9LNrCd168OXq1xV0TrEmUp0SXmrixZzkjIiMIlpGaK8ZsJC+EzOQ?= =?us-ascii?Q?xSkXoZ4+Aunr8ePAANt/HftHVN4Z4KxzBM5RquFEWz0v1ZHpSztlAm5wCO/L?= =?us-ascii?Q?anBp8me95HEzpK0rIN6JGWRCvbead6eOYMATasB8mvv9eZsBMYpiuMNb/8cB?= =?us-ascii?Q?o84Fu3aSFQEi993Quu6WM0rxPzCtsRMF6027bWX3kxreKtsUq+01OkKERzvn?= =?us-ascii?Q?0Nxh2OtI3iVVej+x5oflp8cuh8ah1ezJdeZAEwI1LFfhM+PmWdG/FTwddFsR?= =?us-ascii?Q?VsmWMXCbaU+pYvqXJT7rSQNSexTFLAubDKOg02q+YscyoUuK21sniCpBbe/q?= =?us-ascii?Q?f3r4Rq/S9DFONqNryd/PTybCmxA3129mw2v0ZAWhED26k43YRqNxrSitgNcj?= =?us-ascii?Q?CHOSmvHQfbWwWQnJH5EqDZZXePlKtk4FKloMNOvzNnO8HcQMqWcmzZUvaGfH?= =?us-ascii?Q?XFl2J3goJvloK23qIEqgITSZxUHT0nqDXUxlMeajKNilHoeVDcjBzvXGm09X?= =?us-ascii?Q?jY8B62Vmoww61UDmMeF/jOLbh11GOqTlEtMZHgG0o/vtjD3p1GgGHZ2But6C?= =?us-ascii?Q?YK8I8Li6LHv/BiwQFBT/lgPFyx4V2pBRNkKvGFv7FVn6Z9lfEQBp6LXEgK0t?= =?us-ascii?Q?+u9YbfSngexEK83fBUUx99aaJ61PhzHP/yOX3Siah/bpL+6aMQhT+W05AQtG?= =?us-ascii?Q?2BIQq+TsSHxWXIR/nymc8YEXznSKW6+fVpFuLYUhCMe+OgvgRM55vRVybQdC?= =?us-ascii?Q?/JgDKdf7bmzeAT9NqOckAdfBiUgl6AAZiIgaQiB6Rem3DWXOKa99iInRlaCi?= =?us-ascii?Q?GjZ/f+xINxDrfQ7Csq3HRvIoJYcMUl1VOYzFU36bPWKWYAuEubX/7iqJCxeU?= =?us-ascii?Q?Ukf+T18THWcyh6VRXaEgx/leCP7F/3CsZEHgtxHV1ynEvQ948Q7RomnyISjw?= =?us-ascii?Q?KiHlmSJn2/dk4q7uRbmeZgnBho6bH9MBiPM7WJBvMYl3l0/bfY4d8xE2TNAI?= =?us-ascii?Q?czs7MCuuOwWw=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?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DoRqhFQV?= =?us-ascii?Q?9dTiz736CFJxoGjLLMWB6EVctW8B0CWFKDVTpgu55l0Kf9lNXThGP5FAzpwT?= =?us-ascii?Q?p6RYSZR1gd7Cn1JQAySwbm3rbYAsd04w8aYiATxau9Mn2GMQzcOiueCPMppy?= =?us-ascii?Q?yAQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 5:cFb5b+Mbzor6SHhQI0sH+vkx5k5ofvcQw1h6nRL34t2ijFBHZbX+3V6zVtfivFPVzUsOLs7cXGpxqSxQpCJUPXD/t/Jvs8KGb670thDO0xpLrTrbsES+hBjqVTZdTrFCD8Z0V9S0yKrQZ1tLI+8F3cOGiwhUawXlubcpMlxyhETIYlST+CdTwUoghpLN1puS9o9uE3GbY5XGMwCmoISn8Sz8xO8c1eVDrIg5Xu/FyJ5ibl2/ATnVckgP/EUGo+3sfY6QdiIootSXAF8ZJzNXNQo+gJ35O9XN60+LxX0QgJssyvGVTYz0lB+x7TZgtpWMAUCtC3kAYs5gXpfIPou+i+b41OF5kXZ+A4FHdT4bQ0/7Cr4qon40UJuYIoEtwHOVkBkCLf5/UGsBrnoHZ5pqhQGClAhOv+LuN3X3mr7exQzeM5fION1B+Gptc5rXJYvWKDTBIYiv+WvFE3spWjeh0lNZnv7J+MFjjonY8kMVbI/YViiwVROCe2UKWkS9hXQJ; 24:+g9/EKpiCeTdByA3+QnKIRPLpeVuIKfTPHSDKAbZU4bLGbSmLM6600YktZsVhUem8dx8k7lBbD4zVH7NwSEbIJ6qBfSM4nObds0lhh9i3ac= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 7:VmvvtmVbxY+RdXCSkLpYxHHzjzjaKfstTaLO7ibEsvcXMRsgAaeav4sz0EUHSugHes9yOKwKFmfIRFHm+6Bw5zbinbPTWmIZS8ZzEqHBshH3zcztoUw6xikyyr/oGOwL0271WvoyIwWw2ypBhY2tQ9IHWJBM6a6sfdQN5mSPLiOAVd5k+SqfB57R5JfiyoLDDBe9AVn0P7RvfHkIETOhIqvxjMWKC00F10sWV0owLE8fqF/0L97R6h0Ei5Q3aX3ZzubdgHo5AGMIvLAidi3TzLuJjMvYt/ebUaY1K8HySRPrQPf6Z7AMqiiP+FR/lcMvzxEv39c1jDQG9cAYYIm+kbu83Aqkg4YNWEms9Kb3xGcAwI/5adB3MvkQmDLVv3mDewO0bom/E3F0cYNS7dV92IsLpqmP+DhP1edbtR5VrIRWRw3HDH4kBBfJPsjAqCRGpxw/+ur3UxtBNARoW+RCdVYVDulgGqejyfLVt2t8DgNsYQxXOuywTQn54F+yJglLP0W3jDI8gm2Wu7XT48HYEkDoj0udSj9MrstHa4eqMHbfr08ES2YAIy5iMUUy84m9yQUlYroC0hFyehaYQisO6L/Dd1yvSF17tHubhLnC/tGquhbsnGxWKPIHTEKHmby8q47UG2IgyhD2RSdjeF8o6PxRDgk6WcmPEoon1wN1mZuusuOqLnYwRzR2gQDDO4nHbD/Ed9YKfassEyAPH1Te9FyVZCtwrjJ3aD3/XaS2QWAw6hgv1C+2vcI3FOPkyEVSf0YVkSCe2gUu5I60Jo77crJSulEuUKMqJaMAG0uB2gM= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 10:36:39.5568 (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 , 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 d442d30..7bb0a6e 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, struct drm_crtc_state *state); diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index a5ea6ff..33fe959 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