From patchwork Tue Jul 4 10:36:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9825757 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 561D160353 for ; Wed, 5 Jul 2017 01:18:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C9722624A for ; Wed, 5 Jul 2017 01:18:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F59C26530; Wed, 5 Jul 2017 01:18:57 +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 A53802624A for ; Wed, 5 Jul 2017 01:18:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 039B46E294; Wed, 5 Jul 2017 01:18:03 +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-he1eur01on0098.outbound.protection.outlook.com [104.47.0.98]) by gabe.freedesktop.org (Postfix) with ESMTPS id 608C06E319 for ; Tue, 4 Jul 2017 13:11:08 +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=+pWAhGuOMDrbjloAPviVE2zYbjceyyW1Rip3n7Ah7IU=; b=a4hfxYGVioUkTt5m92xYifmfbrKRMkI6fH8V/q6P25QenhxNAaW0rDZJoJzbTjOFTR3TvY58aGysBzTZwZKt5ZlV2u5LKKh8pLc3oprg9kxhnXzvqQ3usbVcL7dwKd+wc4DsXtvL6qfQsV0682qWt8tIfWePXF3dQkSWQHbUAjY= 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:17 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v3 03/16] drm/fb-helper: remove drm_fb_helper_save_lut_atomic Date: Tue, 4 Jul 2017 12:36:59 +0200 Message-Id: <1499164632-5582-4-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: 5c14e371-77bd-479f-2000-08d4c2c88129 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:m1ZC/JmfgzXUbVdANf9+doz5T07BUTNwKerEEv4DUqDBuNi0iVfuUjOjQXmOSmAQ/q1v0Nxd67aHkQrv4557OURqDo8vElr8yzkpQwC7cWe5qGtsmdwGCUYE76aQjmiBxagEpO1jvK6CgNoipycmWjrozIpeOxUprMoAZaPogKO10OPmKxYvtkQbl0NtGcRiAKPzE2sU4XMvyh9dieFVyP4Mom74eXBfk1tz23kHz8mYuqPAjBjc6Z6Q3aKzqmGQ1duPuFEOxF133w35s7/5zeIehVzqZcFublWf+uxyQYL16cLoZytTB9cwAD9KiWvuCydyOf0f+6Ow8AUOCg6Os/4f4QhAtnB5/mwE+UsjlfvtAdf3eWDYPz1ABGRcB3hRPyimEPJBiY7NV03DbtAE/YldBajCOMEJBZ1OFZOZgqkHX75ylUn6KKvrf8SWM2NNnXMJy+OYvGEqth8clxVhK6LP4CK7F4ZiyliAUvsM9/5Kk7yaJz+qMhQD1O+hkT8r6xcyc7UPoUMYfWLDI9JwKB1E8y8+yKAs4bVX6vtiXAJQJTl2HuA6iWltmwJRKAPUHALmve6Q0bwWwyaTDsbNQpRz/VpTFyXukSRegOSOp+mKrqbTg81VOXcePF/awHf3GBk9PTeMuacxIF5TrJHSXb1v62n/fJMsw85/xORVDb3NB06XKXdZyn6KXQnftHzJF8p2IbIyGCpMlPasdFBi5A== X-MS-TrafficTypeDiagnostic: HE1PR0202MB2555: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 25:I/CvaM32byrGOdlf023WPw7dgtUfiptdkgNJEs0ccGyh+7UiUu5fiGjEwBk9I/AJxio2RsEVNYpBtV63lF882MpIo5ogz8+f88C3oG1BUnMV6vmWzKi1iC7J31LMTD/1wVXpdeJGNcTokP+MmPX+r5qcsHvzl67FJKTV60o2j6DyyCFAZBCByZEDp8LqfRX/TjGu59YomjQlO16pwXSPyJ4VA7AZlKbpFcHcqcmSWuXhxd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S52MB2EGYOFJ2Cro78ceuemg09hPGQyzBMwrcyFmXHlus/P0iwZThupJbGgWH9vAhYSxlQ3yMfEiiZrAdo+g7QnKYNky1aIX5TYJwf10jlvBYO0iNn5CIlWb60bZumzGD60HNilCz2OSL/7joyQGqQNhmDYWjTtBnpZ0GGhdSHJt5f5Vub+RcxVT/70eD9/gIF41JxrVCB4YN6ewb/cOLiTot3IKfi1uXVALfhaMs0hw3JCJ1A20K8fDOpLTIcQJe/0KZE84s7ru0aoWdKPWf/YRUWdLlCX1mAS+jFLHI58vvIgBZxIhTUoRGc+wPembCqIeNQ1H59ev6+p6Sw5hiu3N6cXbzpBvePQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); 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:HoF1iuhGGSjs0Hf7C3Mh5XsNqKsZRwLb3EWyR4jU?= =?us-ascii?Q?QJG4oZf8/rQW1FUnIhVAXqF6I/NJRL83gfjsEgVQxIgDTq/UjFCLPGzFU/Ls?= =?us-ascii?Q?ZvExMIhwINxbri93CTxgKRRrnLzMhp9yn45oqgTA3mPoXgUMts+6Gti44Ljs?= =?us-ascii?Q?3cSlZpeI5qQFSmCY7nxuQ9LGpMWG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3jBurXVYGoUVLuSvdws32CITD0GGH94U/it1SpX0I8BSKRx9dWm2nN?= =?us-ascii?Q?KVGLx1n6hCnRWKrdJGbtNzY3Ia3GAnKn9GqnNQhc+788cRvmwELkLdPFGrZZ?= =?us-ascii?Q?GFVNky/tP2vQaM4dkxXpc1mfKxycEuonB+Ugqqm3qcnJ2CLndnUydIguevWg?= =?us-ascii?Q?gHqXmFynZZGrDgKUCa8=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39830400002)(39400400002)(39410400002)(39450400003)(8676002)(81166006)(7736002)(47776003)(189998001)(3846002)(36756003)(305945005)(50466002)(6116002)(50226002)(53936002)(86362001)(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:aFP72hu1D/LtF8Lcu//ZUEM+zlLhptgia1ss20C?= =?us-ascii?Q?Q9Gq1YPBpYV2Tc5nu5WJj6L+ohAHAGi6W10unZnwIcYD8wTSihrypK8eMwjR?= =?us-ascii?Q?spcip3eE1Rkiazb6rKkW6x5sVZeeuCl3uerjMzAzv2b6V1t2A8ViLh5gDLjV?= =?us-ascii?Q?wOZhOyq5JTLdPZpF4NgcGDmP6W50lnlfnVPhno+GjGd71o+805xgJto17php?= =?us-ascii?Q?NdYfCKarvEGcx6wKeGy4mZV4pNpD+41DCFlm0rqQ0Q8GzitF9L+DGYoqgOgz?= =?us-ascii?Q?n5aBTLme8cs3MOCeXIKW88w43/jQIbj1lZSdArtTT0QuOw31ScokFcDAzGsO?= =?us-ascii?Q?S2wTwaARkNU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zCZXki6Vfcp6zXYxw4fTRNjzjQR1jnJAxEXFlht?= =?us-ascii?Q?ndI=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 5:9DarF0qIBE9t3IbrnoEldFQVb9sA663W7xT+qoLSiAYKySw7HUkCe+ty0DCd0Piyfx07RgEqQkvwT+5Vt/7wzg7SDpyeSJ+irYc3Sr5QcEsv3SAwFNTFn4zzGuVFShe0DD9FW/EckxlNqxhn0jZs16r6BDj1qE7/SBdAoql/5hxD381XIyaLObZtXoW0PJ0JDXANMK0NONkdNaizrUEUVE1oBgBa/96w5JHWhYUy2XB07dsrK8Kwg3W3GJc+FHebp7lJVVY6u3/ocHLtKIENtfiryXgfeE08lLx9HRSV11t4VI9KV1BVmoITyDC0XGRkSGf34hTwbqbb5kmBDtnccBK1g4fCq6SBFmyhXuMT9eDOBd/muP/Nde6v+UlxuXX1EvBt4DIDHVdz+d6HelBAEmuox6Vrngyxb7CouQaQ72WIzLIG5VBghjz7TiOtz+5+GXfpKGmXKwUr/kehjeKfZ09R5dskXYjNhjzQD5rdYnNEiB2dy+hcirC31dWF09WP; 24:HxLuk1Dv3Kj5T5u52qxosfOxus2Rvens+ir+qYmcpIhRR2eXuLvDL/YO3czMrRDK7NSmRL47kxvljE0Nz5DR9Axmb+Rsy/bjGeNixhIewFo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2555; 7:2HTaK4WKwm/B1XBJ/P1N0J6PUaA9ZZWCXVGihmUBoViQwI0DhhBW/KNCNDBc8GYXYcZ8tro+KCnp5qDtzjqzc74j71s7n863V4w50wnZMZDv59wkIpdsR3aUa+4yzUVhuKm3EWrxUrX/6sRZIuDF39f30Qmwiz2BLvYjd9sDqk9q4rEEIUl4GwoP3PKRYnkqmGI+lHA46i1bx/XUWwK7iNKwttCgRS7N1YU2+HHs7sRJ4ey8Ot0BWeNiourVuz972JED+kYAli3JcokJjA2vDEvoWT9Ibcwcu7jBbS2Q59TKLWBfinkYqAdQh+sQXRt6c9kDWIvFbs9k7/nw1Q934zn32Ss+8bs6kLUeGQxs50ODudC6OnZTFTd2POfX+Xl/bESpWVX5l5yJEZUVpJSs7DyCDtTfbPDDLZyg0fwppqLCokZ53X3vOdihT5/nGZ7qjeWGgu/aNxG/wBvvT4UGFxLAwhGDg+mqsODgOlddNx1Xpqf/NjzOpx2zP2ziBM5qwVEpCyQbpYHijyjp6tHwe97NXhpVL3V5FeyOynXSwLE0NO8jaAcL6eRWJSvTPGw3RTrL3O5ryqdbIRBm1sqPEL/4L6/vA9IrSJe3cCoq6J/l9Mbq0b9SoBykAVoejJkhvvyNr55i8xHHvEInoVUJE8ImLZyVBUvdUu0oaFtTGCLrHpbpOvFlFcCCIlh5amY+OkQZ2AV9McxxsSWyB+7EO0QUspb3eB8BYh0pX1GPmi7iq4wfB+MudvuMG+nXiYibiN4MHdiG7BCbZVifWMxYDw0Y8uPZJSsvimAyWRD/gXY= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 10:36:17.2598 (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 drm_fb_helper_save_lut_atomic is redundant since the .gamma_store is now always kept up to date by drm_fb_helper_setcmap. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_fb_helper.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 41fd9e0..b75b1f2 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -253,22 +253,6 @@ int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper, } EXPORT_SYMBOL(drm_fb_helper_remove_one_connector); -static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper) -{ - uint16_t *r_base, *g_base, *b_base; - int i; - - if (helper->funcs->gamma_get == NULL) - return; - - r_base = crtc->gamma_store; - g_base = r_base + crtc->gamma_size; - b_base = g_base + crtc->gamma_size; - - for (i = 0; i < crtc->gamma_size; i++) - helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); -} - static void drm_fb_helper_restore_lut_atomic(struct drm_crtc *crtc) { uint16_t *r_base, *g_base, *b_base; @@ -309,7 +293,6 @@ int drm_fb_helper_debug_enter(struct fb_info *info) if (drm_drv_uses_atomic_modeset(mode_set->crtc->dev)) continue; - drm_fb_helper_save_lut_atomic(mode_set->crtc, helper); funcs->mode_set_base_atomic(mode_set->crtc, mode_set->fb, mode_set->x,