From patchwork Thu Jun 22 06:06:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9805451 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 4C8CB60329 for ; Fri, 23 Jun 2017 01:04:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52A781FFEB for ; Fri, 23 Jun 2017 01:04:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47085212E8; Fri, 23 Jun 2017 01:04: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 BF1D31FFEB for ; Fri, 23 Jun 2017 01:04:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 151FA6E6F9; Fri, 23 Jun 2017 01:03:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0099.outbound.protection.outlook.com [104.47.1.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id C04726E0B8 for ; Thu, 22 Jun 2017 08:38:46 +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=5p1ltJitI1Eqvn19Imf2AohvhJHnsn5r6/mWG83REn8=; b=ewH5c/f5uG9DiBKO4oloATXWQKiCxe2IMJA9KToPviwzVr2xQl0uISujwvHjaYVP/jbaQD5Afp9CNaH5ReYbuhvgcN1Pl4fESWC1A6PyXIT7jLXoLHY7uaV+KnKPl45wCe8OEAtg3881qtrsmHemWcJQ8/LYiBt+FDB4x6zlxE8= 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 HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 22 Jun 2017 06:05:58 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v2 02/14] drm/fb-helper: remove drm_fb_helper_save_lut_atomic Date: Thu, 22 Jun 2017 08:06:25 +0200 Message-Id: <1498111597-10714-3-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498111597-10714-1-git-send-email-peda@axentia.se> References: <1498111597-10714-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: DB6P193CA0003.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::13) To HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 31ff353c-fd43-48d5-b4e1-08d4b934c27a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500055)(300135000095)(300000501055)(300135300095)(22001)(300000502055)(300135100095)(300000503055)(300135400095)(201703131423075)(300000504055)(300135200095)(300000505055)(300135600095); S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NOXbH2JDQ5V31t65gh9Vkt+aYa7JAhjfmAJ3JLr38HfTnQw4ox/E3Yh9nzm+MFuVxCzyytaPPOhxO+LbAsWyDGBxHAogRfURFYALeHTkxKk4it0jRneyHQl3ZQFvdzN9aubTNd8TpYbEdSDbQaSGxkfDbdgb+w72o+krr2KBwH8xncA6PdXymZ2SUnKa9hSzeydLCk4OZY6Iz+rU/PkSzGH6KReF8PludR07yGwM5RHisPnRaoo3I519e4kQjeKqy06Duq7QrgigcIsO+5E+cojU8tQScaQRbRZ166xMtRChn5D9i5/3xS3GLraJ1Atglzc= 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)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(2016111802025)(20161123560025)(20161123555025)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0202MB2553; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0202MB2553; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2553; 4:R/qptfKlo6Xv2QXgOLiRJzgXNfopqWGebpL4yqVI?= =?us-ascii?Q?M6ojoIijXZLhs5QZWRyZ8VZCjXUah11FpRC2VxL5Tgy/OVuqBK2ay3Gv+fY3?= =?us-ascii?Q?F4MEgkszEXdjJY+n/POx45F5LpJ1YAEp06pmL74MqxsOusyL7vIwWwk6HUc1?= =?us-ascii?Q?t3T080JPql12SpTCU1rIby0NfpFg1wXsLw33SKgtA3n9ZpjST08ENSxG4GI2?= =?us-ascii?Q?g1sGJkAqF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bC8OXRAfY?= =?us-ascii?Q?tRT/qh/AgJmp18/DlIGS7y8yfB7JeKfSEb+uRwC00gHL6EnVL+6u2H8H8Jgo?= =?us-ascii?Q?DB3dz8TqEx2cWJ9aIdORQqc/t29b/nSgwVc6?= X-Forefront-PRVS: 03468CBA43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39400400002)(39410400002)(39830400002)(39450400003)(7416002)(6486002)(5660300001)(3846002)(6116002)(76176999)(36756003)(305945005)(50986999)(2906002)(50466002)(25786009)(478600001)(66066001)(42186005)(33646002)(50226002)(48376002)(2351001)(2361001)(6512007)(54906002)(53936002)(8666007)(6666003)(81166006)(6916009)(2950100002)(47776003)(6506006)(38730400002)(5003940100001)(110136004)(8676002)(86362001)(74482002)(7736002)(189998001)(4326008)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2553; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2553; 23:SBhqsJFD6pXmMnpe8cR83nl+DG4PeyIhU7CMxT7?= =?us-ascii?Q?q+gbetHKS7h63zPKzNCN6tfpjGMrR/B8U9PaQlNuOVSaRNlcj0rD0jBmPj+1?= =?us-ascii?Q?9q1HPjAJasJKXg+O4IEVCyzFiApkn05aSRz7Y7kSH47Ck3l1ujvyDaNHGH3S?= =?us-ascii?Q?xQUwvSfuyozo2ER6rjU6xOJBl2pnoq8LovTnf86tb7/A5Ts3R4PlM47+gpH8?= =?us-ascii?Q?M/XmoYgHy+tVdeweZxdqOrB/SNYvRYFSEHzUDeNVgKgpfIPBfXZtNj90pzdK?= =?us-ascii?Q?hbFeHii6Q1zqc/VZyHmKQ9PB+/x47+4a/ZmkqfK/ag6xTcyNW/I2h7PoDHgD?= =?us-ascii?Q?sr3CS8zKG9lu9EWoLyEMjJbX9odVX0Ls7PQ1QE48r1SmbAhx2WUYGRzcz84M?= =?us-ascii?Q?X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GrA9MRtqIRREvE9k449sGHiakJT2G1PMm918wIC?= =?us-ascii?Q?e2I=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2553; 5:5d97RV8t1oeQNeOYk1hx+cbGFYxBUQUT16IzHimSVYA7/Xt7snQ93X/7q2G2yHlSMubheV1qfqTBbxq7bJijU9WgmYZcQm0YANeTlAHj/zRuILvuHqUdqtFTMgnDVMK6GY6qWKhIgpjapdAxO6Fqm6jgWOXaZMioe7fgZ6HLxC6YR7zIucb0wCHLTc3lb9aMAIE9kFHUlHtk8hSGORfnSubbwgiVQJ397RDqj/t0/xSasDUMMCzWb02wPFQJh4VnDXrk9URuO1Sek59O5Izga4vqm35kAI6AulF1Tb2q5advVmUmyhDtsw/tASQGlY30dwOwdeoUu/af58k+Sn3zmJryNNRcm9VlhfDmXXZlAd/v1lAJXNy7sjSIBHm3Cy4TRDKNQ8xYGQ7obt47tkThG63uVET7BpwiARhpgsl3+49u++5MvNPZWs/VLdAQjLGodXVzgweMAF9hVOBnZN9sJ36j/QzId/JmpMwC14crYiRpjFmUgjjS9xkEt7yjQ63w; 24:09T7SehVylAgqqaZdp+3TSBYJS3YEWJVhIS9a1y32nsYKFaE7P/IyISkIVwqVN7AzzLvqxsL8dJAsRPijcnHSo2jt3wim2vHDYKvdMm2RU8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2553; 7:9f6uy4QjbK7uC2SIMDhv3PuZZ0Wq125QXewGlJ8qVBDWFAJtilLsF/0DZ9qSyMnlV6IVLTOXovBmDD2jTu5OGRvlg/LCdVaW597xpYyI8xo5rN8KmXFyGSTt7EDjQFScR2wXIko1YqpxUpP3kXT6fySsyZRrzc5PepRKJQVefK8KdUyESmAi15ywbVUNKH/XTKtoFgT/RrJ8xKNCs7vfq3yXrBXlsSAt0J0ro2knx31c2/d6+FcRoSrgczUdDK+/IS5Duj8ca1NUm9sxu8CoVWbMxAnbOXQTlKHHF2ZSQ7W2mw0cSMSiDkxjFst1MYSClOh6hK9Yu7eV7jysYaXz9KqeRy6FZZJ+Ca+CTo3MOU6vuV4mpV15X9KJA0HLrX9d0p6EgUwktscn209F9useZYdIMx5iql/Flmzb2dU0NX5vWgjFwe+7c98qSjsj5yl3fLwJJDNsoBufWysWn19An5N7PiWMsMRAzWcYMugovps1votI78O2GqZSZpQZ36ZZCej0GfKmzTmpjhi0MDXETbH1Gd5r+4Nt3TurX3c2pfNVbK8IWaap81KtBjiLKmuJJfE4zRUDBrILrbS/eU5zwd0aZKSRM3nsokUwofcWmVXgMVEq5HsNOqX2UYMMAdbunLDoai4W45PfTMD+27BlE2nP7gTs8guS/hgLtl3E47fl+GSOYiATPAH1H0ULJMGdoIz8pPjJR+SBF8Cb/v5fkwBXkC6Ka0OAWc8pQrSgtLfRjZb6aDw2oJQMn9AnBiZ46ihLT8Jr4y+6uN/ktVb5AR15tREuxTAwJhcCDghHh78= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 06:05:58.4923 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2553 X-Mailman-Approved-At: Fri, 23 Jun 2017 01:03:45 +0000 Cc: nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, amd-gfx@lists.freedesktop.org, Daniel Vetter , Boris Brezillon , Russell King , Ben Skeggs , Dave Airlie , intel-gfx@lists.freedesktop.org, Vincent Abriou , Philippe Cornu , Peter Rosin , Yannick Fertre , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , Gerd Hoffmann 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 25315fb..7ade384 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -229,22 +229,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; @@ -285,7 +269,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,