Message ID | 1497986735-14418-11-git-send-email-peda@axentia.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 F228960329 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 00:59:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9E9A200F5 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 00:59:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDF0B26222; Wed, 21 Jun 2017 00:59:36 +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 7E81B24603 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 00:59:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C86866E40E; Wed, 21 Jun 2017 00:58:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0136.outbound.protection.outlook.com [104.47.2.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id C72416E38D for <dri-devel@lists.freedesktop.org>; Tue, 20 Jun 2017 19:40:15 +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=+s2ZWd0ZFwAWC40vqM5+m7BVFHx+p3J6MdM6ZWWPLQM=; b=wfkUpxRG6XE22YZXLmPrnEMicXDQzjd7JLCMTYSG5e7INoNdVVEL1zyohxgI8KBeS8z0Dt2foj+z1XHZnPXPltKyUR5Yx+A3rY4bf4+MfaX7pSHsLdYq+sVbJGaig4MeNjGUZP/OGtGb6MkWVHgMw5v9rwoULTQ5OqqB38p5hgA= 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:30 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Subject: [PATCH 10/11] drm: stm: remove dead code and pointless local lut storage Date: Tue, 20 Jun 2017 21:25:34 +0200 Message-Id: <1497986735-14418-11-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: 9ccbc091-d829-4be3-be20-08d4b8121f34 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075); SRVR:HE1PR0202MB2556; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 3:V1fKH7lJ50grocjZArC1vLM77se0nbY0qYZiip0qp9th11iy1QLKMK45Y8wWrHH8V+ZH5XxHb5xbX48Xj2tzFb8t75EN26zujbFs+QLv6ZL3jr9Gw0NpWc0ghGstJi3DPyLM0q8Q2ZWObnwZJ7DZjP3BI3tlgcgM9fySpWLljVlbP92KSjKCqnE20anvvnsMCv8iwbCVnANhhNti1+TbvwYWKX3qtAdAJ43rjKnCePk2wlY5+Jp0y9fAGIbMgOwQFt+hFQ/io5eJGSgMdeQuZ0APNMQy42JXIaal1s1geQTZqz36DwmXK4RyImQwCFfQ; 25:AHO6qllvOb/pa8ctvzS0xNHWLe/6GwlYqdgVj5zZCLEz3gNw4RDCLrY4Rxh00n/D9vNwLxJl3yki8jGIBZGsD4SZKxfycdgeo0UNiIFDS1BVV5WKTKyHqYmjJRS7wrsGlIAJTDHSvEp7QSoyTb3haJQi6pa7ImHT5oupPiDocFLvrtlDx0AQdXadmh1+brTkz4WUBfZm3wqdW/wi1uqVpL7er3Tac/Qktq3lFnZwAKsroikWTMHtm5EwJ+MNn6LAJ9j9b0xyA0/gu5jXjbmXDWdbkycSqI2To8BwAo42v2WaSNi776BeipHEC9+7feNh50Yd70ORCU1JH/QRutyn8CIcC+LHPwP15h47/KeWi7pQITzHKVTQO16dr4ezvaUJoDtS2UdhK/ja8WRdYGDJESzv1WTj64Gmohh8650m4+83kpA0yFAgZPpBwOyyH8n3d9Y0uAfNyg8C57F0tfaOiCi4N2jqOWmJA1DkkAEQF0c= X-MS-TrafficTypeDiagnostic: HE1PR0202MB2556: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 31:9c96EvGOxdZLb845FQP3OI3X4tNUC0rau0XpmEdakcy6mLlbz2ZHhpyDjMdsNy5wQujW7JN04l3eodQF2wf9ib/VlPAiaTlaeKxUYeDMluf6EXRy29tHDt8Rxzm88MuI0K/aniKOHW2AZLJGUADqR+5+0fENEqDYJOIasiAKZHHKn4SPUwTGTkuLljTqgymcWroi2zF7LTD03/1ev+4KR8Pn9aaFMWTffI63+lvh2ZA= X-Microsoft-Antispam-PRVS: <HE1PR0202MB2556928727E6FCAA65F52C39BCC50@HE1PR0202MB2556.eurprd02.prod.outlook.com> 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:m4aInU/7yjc5g49yl80wunveNg68nLAjc3/rJx4w?= =?us-ascii?Q?+1fH6vtGxcJoCheoJCERm09aVXVv4J1dTjcDQmQ1yPACP/wT5NsnE2SYdnf0?= =?us-ascii?Q?p3rMjhYyykIrchPMW4o7UUskJj0SCSZh1WebinOTUu0PPygyMOIYn4xd0qXP?= =?us-ascii?Q?FUScu3ydsow4aGgxANz8bSPq37yzYJthxIGS1tOoPo9AVZJEp/b6d//0tdLv?= =?us-ascii?Q?j1Han4Ksn53o6d6jLd4WMFBYy8J9NsaKeI0vdtnUj4pqRejHFjMfrZL1Pvuj?= =?us-ascii?Q?oFiZzi5W53XK9qndgKm0/5OdIFxiSQR2g35R6vFHCVzegDac7pI2tcmyoP51?= =?us-ascii?Q?MNbmSPMdZwD8P0TQ/8/9z9X9eZybYgJUjcElz3Pms/fG/rGyDoDMqs8YX6dn?= =?us-ascii?Q?FKZhSzCZyxF9PaHLCzQT7YC7hBgnjib8rWVz3pPCK5KL0eNVzY9AO5FrO9FL?= =?us-ascii?Q?U36tBUNjpPijS7SA18LWwTN9GTzrH33h9D0iyj733Jtp1Blln1A7CKGoy8vB?= =?us-ascii?Q?lWw5PuN4qUBf9LhQq6WIievIcuLL7392jMf9E/0P5+ckpY83mE+/p+HcoAkT?= =?us-ascii?Q?2h/g/rCyI1kXqQ2L8fdg5KR529cA0yFcqSVAjzP4QK3Wx99OYhe66Exlo6FZ?= =?us-ascii?Q?rhUxD7HVp183tJ7OFjcgc35wn90itT2skNFuvNgLxanOUYGZ4ToTV5QyLGLB?= =?us-ascii?Q?8XobnJuKz2XkXvLwaVpAl8C1dO5tSy7/3DgZVFlfyJ+HL04vf/YlmG7y1lMM?= =?us-ascii?Q?hhs4cRW2cIQQIoWdwAYzq8n754Mk7KC4SxrpKwX5UlO/jM7RxiCszUQ/cY7q?= =?us-ascii?Q?oWPAqcX05NARtAYG0peXoGIlVLXZLSJh5aPkzYq3OEZx0HCy0gj/gPWzOgbj?= =?us-ascii?Q?DGY5+pV1hcJ70GOsbJ79dbf48GPshLW+GC5ytYIvxkNnVvovafDYVEYfiO9G?= =?us-ascii?Q?2hA10E2E0JO02RAsHnvGsFmH6wkJbRpUCHpugfDT42bK4ArPmBMCjW3i9SAE?= =?us-ascii?Q?IXTzIuYNy15wtIRpPr5A1lkITO3KRINUr2Y90SNdmig6IBd92e3sz48wd6ZN?= =?us-ascii?Q?Q0UDVq9+FewKicRxHflIdTk+v2l+8kPmNKbfZrnv3dcgIDm1gae6xZUcP6qV?= =?us-ascii?Q?o7dsOe4mEbE7yJ5LMHlMR4YZWHFVbWhHQXuY4cVN3eWrVtlnxEyCNeObcATJ?= =?us-ascii?Q?QM2eQCI9x6YsEgvuk8dxohC30Xy5GX4R7+BM?= 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:sKb7Nlq0ARGUXc+7895VshZ0NiKy4JWELb9NioU?= =?us-ascii?Q?nnTueH1hz3h5Zu04QRGViXIY73+k9OEZTvwbXUJlAPM1FgmdKnFB/f4oNekP?= =?us-ascii?Q?xnxkkRzAo5I5RxLdsmowhUNnlKtnhJJSzDgLfucxkYgcM9MRHBiHfSjOwr2w?= =?us-ascii?Q?vp1yxOUHyzyh0o30xXcUZfeCWLHCYZ5yLo+06YzrCI4QDDT6275RNgqVdNzx?= =?us-ascii?Q?GohUohqIGbXSs88pLzkwmfxTTuH9ruOTf6bEtD1CF6k2qL9OkxxAwFIkPIP1?= =?us-ascii?Q?WvWx6Kqa2H6JO23aIbkxx2BUrY6gRUkxxkjBWtPNCqbNdJ1bZSxErMO/zFCu?= =?us-ascii?Q?KkgSw4n6n9ArY+wW5V+3/sm1VB6HKy27AS9JdcCL4feMBZ+xdvgZs+aOjl0K?= =?us-ascii?Q?Hx16YTfUvSfT9HIFOHCbLUqLiHWUO/Ogfn9spzlErVo4RbfPeSbS7g80viIA?= =?us-ascii?Q?Z/i5AlBQlwMIGLwtenLQyrwNVpoToIf6FyfjTddPtrI+z/w1F+gmxQjt5Jci?= =?us-ascii?Q?XhhHa59do8zxhSDzGj2ICp9y1QLAfhAF5JQa/eLACXOfMzwY498V0vIIoRII?= =?us-ascii?Q?u5WUmWiGTUzYvf8ixvff6tCXmYOwQUGInoQ0sKo8ZdgxNXAjzjJmwsfsasSN?= =?us-ascii?Q?ePp9V99Y5k0O50zR8v335mJOFW3QcH6HC4Rf7nkl0YzaSn56tbFQyv71DQn3?= =?us-ascii?Q?IAwU+BlRA5Ebv+9XiVvq+U7laqFT+2jEK6Vv0KAO/pqz0vLgX0guGEUltBee?= =?us-ascii?Q?rJ+AexhhSd5scmleZj8fIJTaNvqDKjs7PV7D8txo5mmQq6RuwlxcVYjhIzMc?= =?us-ascii?Q?knXuKkFSPyEcSSA3Zwt5OfVGjTtoY6BznnVeFdb75ERkrmyMyWHg/Rkg6KeJ?= =?us-ascii?Q?EsrywWNXRTeFFp4yNq4w4Aby7kSYg30Y0VFbGSgdnChQUmbU/FiFLxF9G7lj?= =?us-ascii?Q?wU+qyWvI1TiAkG5PGZee+LHSYmb3KSIGlpfP117HGxYdW5DUf+dItwaajvZi?= =?us-ascii?Q?enGkEmNObjKZAysrtMyGOpDNK2pdP+TxLHXTJKNzvYUNlJNVBGLQRdRXWdqw?= =?us-ascii?Q?Kv4J4hW8ODi5mv9owlxtc4EI8gs5I7IXKGSH0wyCbdBjBGs8Dq0Qqw9fEuji?= =?us-ascii?Q?H+OTNc80yqrs=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2556; 6:sMtioCEhT4RfnZ4GRQ+PE7JQRsH4CGqPBIbfoECp?= =?us-ascii?Q?GPJ5w5GizGgZEKxNJPcneOPuWLnluLqqNWliw2glTsktuDGYIBxjuFwp2Kqm?= =?us-ascii?Q?VLsAT2gAahG09BohRDOY31c0LKQjn14dMHdG1GibSMClHbiP3bS7XvHSnIBm?= =?us-ascii?Q?Ei7sSmbtunUdDIQyA3bM3LSGsT20eMratjfKYJfFZviaCutR+RE+4/xTdtcD?= =?us-ascii?Q?5E6zLWdZlBlsxomigsgustwou6oGjHtFslNToEJdiNCBslg2rpZCpWbrx1/H?= =?us-ascii?Q?FhE8hQbkcqhO9NxLykwbqgI/ad6ec7D7eJXfl52OQHgeu0up5Zexc/KGvOou?= =?us-ascii?Q?YbPvsBFMuufVIGgF8b+oboaWJk8b/bUgcNaA991pknqRMt7mMkWuzh3DAQPg?= =?us-ascii?Q?gGA+4KykDVIzxT299qBH0cNEw2rqsiK5jzRvUzwAiq39PTIj6UhIsczDo7sq?= =?us-ascii?Q?eIfZBiR7Xpm2rAQWdNtz5MuH/Dqk3cGujrUUhIZgvmYlCZDG2Gw4/a0At6Xq?= =?us-ascii?Q?xQT1n3NwoP6xhJ3E0U34hr6nM3w6IU8he1xIdjkmkv6IzRnAmgaKlb3wkPqr?= =?us-ascii?Q?w9jzZys3RxBg61jouvL7U+Hay2kGC0hAUZUq70D2pvA4N25mwj1sbfrtbzle?= =?us-ascii?Q?BKsTky6KACDzpcKQfSohNrcmuvJuyiU+2iXCEFzY8EreN5LUc5/BGqEn1gEz?= =?us-ascii?Q?V4Vh+112lxJ15db3U8OjS6Aj3IB0p1QLHdrQ2tToXSsVUiJMagvQ+zHGOehb?= =?us-ascii?Q?mm0dv6nIf1WhUAYOd14rY0i1ruXtrv1IT9qaNOZGghiRqh1rjDKJnEngZbkY?= =?us-ascii?Q?a7Y1l7PPCcncBW78ugExsLy/fpLX2rmeujnOBG6UQ5zQUFMoCsrktH2K+5oL?= =?us-ascii?Q?9XPxzmU0ldeG5B5C8O8XJbELputQ9O9r+6lRO48V4nv4b4Op0v8yjnylSlxb?= =?us-ascii?Q?wIhYI1s115N/Rj5bMTPHpH54DpswM+oozW0/g6rAEQJKmjhtukFN40O+g9X+?= =?us-ascii?Q?WNk=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 5:RyHY75j9RXtECkoq8vw34uvNdWdQhqJAMdcZ0viVX07+0bcLTrqcrP/XFe/P9Sf4DVHU+p2yB8RJQJC0qEJ0V8hB2ekoCO0BInnniKedejc/QdEn+/FC5DQQev0sE2Hdpawl0jpdh1wg9oyOD56VDJI6EPwsObOlQ9O07bmnmSXv7G7TLLqTffBcOKwSIFLHWYMm9QUl4ZWGBNeMM3aEFVzeCupt4O7j/kwNUzNchWKFukbVPuCA9BjJZBTj2fK2j1hYdh4VzYtr6EVB5yc/Yro3NJ/pIjDOXXnQoMqX/FyaGUosPVR3F25LYDvgEogqdVE6TlcPqhENKw71mE30vCAA1Sjh1/WAhW3lL3jlIQIzV0eHNXtsVQCicMB4REuQv75DFnDBptfESkywP++bIuuT/TPuV6CusJV/I50gKo08xWLPdZXwfdMin7AhJMx7yG7OK0h1V85STykqmNXyRUU2YOFqXSmyafCl5HywxMaeobrnMeUf/ZAcMZXBFpLk; 24:yDTo/OgSG5l6UaXWont73T39loGohBHlcI4INmiai3jNSslVKDaURsuWsG2kOvw/hhKdYFUMUBI4/gyg1udwTx/BEURhkaSwhGd5dOFeYVM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2556; 7:uB2wVLgdcOPgnYfF4btxov9BeCVxs0xAuPscHrNRo9DuSrDS/wLGfTYAMV4j3MH05jocbH5/SqRCCQEW4emVC90yX0QsakD/C6tY7yg3bHwAVsDO1+1BQnN6zcy25scQGMalaCWaTkwyiMSaaXF1m1H5ZH9WT+9wHv9dqdFDfaQjGFLEb3AdKbja7pjBeGvwbo6f7dVShPMM/i49uRfVekMI1/CHQOEK/zPFfNUm8r6tUbnF/QNu8EzgOOM/5utRJgHmdOc2aJHkivJGDQwscfODvCIndYDF9pzmjk6SZu6acDTItcWQciG+nlmVv33jgkh/gSWKmNyYGaaecqQXaZfgUgLBDUS7ZpuR2DTOc1H+2/XbumVsSKWjmQm/XMltCU9xFw6fSfh4nQ6An/vLBd3ilTKOjGSkwU3Bgxuklh5uFOFXnc5pOIEpj7Se6X7nnFGa+bK17PTQd/YKkeYdvWceKLLs+02EzP1XJiBsGycjeDxaSe9jQAxXqnGVTR0x5K7if28DV57taWCMcW4u6n8P9MlzZJl9cEkmuH4Vk4BanJa26VeIdHE81mZCeYsN6TOMTp6V40OgtZ9y4WTU49sHg4iBY8U4bO5JHpmEpMbcDbbL+i4lj1up4vLbkO2x+Q2IgQOotjD6RM1cDGJ50Clld89go6ZIcBoUrFvRo9qKTe2Hb835L4E7efKghZ2ATDecz7xFeCfaNW1Om6z1NqS/8pXWUuvhCV8ji1qiyqtyKhLZYeRayjTMdDPgZar0xSrBDgVAqN2guTopb+QCMYLWGdBQYfDLpES34CMxSKY= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2017 19:25:30.7304 (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 <philippe.cornu@st.com>, =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>, Yannick Fertre <yannick.fertre@st.com>, Gerd Hoffmann <kraxel@redhat.com>, Daniel Vetter <daniel.vetter@intel.com>, Alex Deucher <alexander.deucher@amd.com>, Dave Airlie <airlied@redhat.com>, virtualization@lists.linux-foundation.org, Vincent Abriou <vincent.abriou@st.com>, Peter Rosin <peda@axentia.se>, Ben Skeggs <bskeggs@redhat.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 1b9483d..87829b9 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -375,17 +375,6 @@ static irqreturn_t ltdc_irq(int irq, void *arg) * DRM_CRTC */ -static void ltdc_crtc_load_lut(struct drm_crtc *crtc) -{ - struct ltdc_device *ldev = crtc_to_ltdc(crtc); - unsigned int i, lay; - - for (lay = 0; lay < ldev->caps.nb_layers; lay++) - for (i = 0; i < 256; i++) - reg_write(ldev->regs, LTDC_L1CLUTWR + lay * LAY_OFS, - ldev->clut[i]); -} - static void ltdc_crtc_enable(struct drm_crtc *crtc) { struct ltdc_device *ldev = crtc_to_ltdc(crtc); @@ -523,7 +512,6 @@ static void ltdc_crtc_atomic_flush(struct drm_crtc *crtc, } static struct drm_crtc_helper_funcs ltdc_crtc_helper_funcs = { - .load_lut = ltdc_crtc_load_lut, .enable = ltdc_crtc_enable, .disable = ltdc_crtc_disable, .mode_set_nofb = ltdc_crtc_mode_set_nofb, diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h index d7a9c73..620ca55 100644 --- a/drivers/gpu/drm/stm/ltdc.h +++ b/drivers/gpu/drm/stm/ltdc.h @@ -27,7 +27,6 @@ struct ltdc_device { struct drm_panel *panel; struct mutex err_lock; /* protecting error_status */ struct ltdc_caps caps; - u32 clut[256]; /* color look up table */ u32 error_status; u32 irq_status; };
The redundant fb helper .load_lut is no longer used, and can not work right without also providing the fb helpers .gamma_set and .gamma_get thus rendering the code in this driver suspect. Just remove the dead code. Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/gpu/drm/stm/ltdc.c | 12 ------------ drivers/gpu/drm/stm/ltdc.h | 1 - 2 files changed, 13 deletions(-)