From patchwork Sat Dec 3 10:22:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cai Huoqing X-Patchwork-Id: 2571 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1300742wrr; Sat, 3 Dec 2022 02:28:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf7X3UKkHHkAWacLkrPz7CBAfdfBiXO/3VeCqti7C57nDTMPMoFaJMuDmqXyzpfWYSzP4NMX X-Received: by 2002:a63:f510:0:b0:478:1020:b1e6 with SMTP id w16-20020a63f510000000b004781020b1e6mr26352840pgh.561.1670063319470; Sat, 03 Dec 2022 02:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670063319; cv=none; d=google.com; s=arc-20160816; b=UgxqVFPC0mpeDCpuZvp0QbYCYhsNANLPTTsHE5I93S5IUWvKNYWNLTDdgzV62uM6q/ rCNL0hDlrAKmWGdWQfvVIWlXcB9RyID5xacsRZ9jfeupF0ffbdgGBAcTsHc1Ys2majLZ XEGSVgEDm0xrXVjze46JWpJb6nnIYLW/FK+yOjcI6BwhQsXXgjJjJU34iYnQUKK0FSDR hPba0P3TT94k9dv68jqkVVzXLs3ACaaYfHqMYFQv3WgOjGZlQYvKvX/ZbvgBh5/yMPrM aZ77G7iftv0rcuabUMjerkqTlTB1XO78YHTIlaIGISmXhPkc2tFy5CYefo9ZrBpfQDo/ dmNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TjMN80lVYmNgIjzL3qaQ3pSDtxrrc3ClLWCJhz9eCSk=; b=fRGQOjyE19BkY0tLe3dQbkL6Uw1mte5W9d3C3Kr5pYlNXmslsVx4yPDy5CvmBl0uWr MSFWHLrIW35RSwjxJYLhjbUxhSfDDknyFyAnL/pJi8d5C0TDitDASK+pQ7c2guGlm764 NV7rwoTyY5dFeI+cxs0YTNMxWpGuQYQyVxC61f+0azey9JpHsH7SSHZ/P8fX4ihQ2YZc YYDijOex46BYdXa/u6ALql8fier1Qq66MsJAgmx0Y/AIP1eO/Vr4cl3APeRjoQDIdq32 5VOWCvRbYrYemh3dlINteJNa7czscL6SK7OEHO+XmIVw2LWkd+DwGDLf4vCMA3TddqnZ assg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=poBsXXBQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p29-20020a056a000a1d00b0054114c6685asi10493487pfh.129.2022.12.03.02.28.27; Sat, 03 Dec 2022 02:28:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=poBsXXBQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbiLCKZO (ORCPT + 99 others); Sat, 3 Dec 2022 05:25:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiLCKZN (ORCPT ); Sat, 3 Dec 2022 05:25:13 -0500 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C83734A05A for ; Sat, 3 Dec 2022 02:25:11 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670063110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TjMN80lVYmNgIjzL3qaQ3pSDtxrrc3ClLWCJhz9eCSk=; b=poBsXXBQBAcXcj8B57Rd0kHJGwuuMI4TmRf1pKGxtplUZLS9EuvOUge7Lz8Xzus2w/axnW jpL8Y9CGGd5VO23cwt6KoP5rrzq3gcSGoPeY3Q4EGhQArJS5i7wpOjwNx6zVPCG9eYbRaF ArV+7NGAe/9O/MXAlnI1AXlsCE10uW0= From: Cai Huoqing To: tzimmermann@suse.de Cc: Cai Huoqing , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Borislav Petkov , Randy Dunlap , Danilo Krummrich , Sam Ravnborg , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [RESEND PATCH linux-next v2 00/10] drm: Remove some obsolete drivers(tdfx, mga, i810, savage, r128, sis, via) Date: Sat, 3 Dec 2022 18:22:51 +0800 Message-Id: <20221203102502.3185-1-cai.huoqing@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751185727637886129?= X-GMAIL-MSGID: =?utf-8?q?1751188314911727299?= Commit 399516ab0fee ("MAINTAINERS: Add a bunch of legacy (UMS) DRM drivers") marked these drivers obsolete 7 years ago. And the mesa UMD of these drm drivers already in deprecated list in the link: https://docs.mesa3d.org/systems.html 3dfx Glide-->driver/gpu/drm/tdfx Matrox-->driver/gpu/drm/mga Intel i810-->driver/gpu/drm/i810 S3 Savage-->drivers/gpu/drm/savage ATI Rage 128->drivers/gpu/drm/r128 Silicon Integrated Systems->drivers/gpu/drm/sis VIA Unichrome->drivers/gpu/drm/via v1->v2: 1.Add drm via driver to the patchset. 2.Remove related drm_pciids. 3.Remove related drm uapi header files. 4.split to series avoid large patch email. Cai Huoqing (10): drm: Remove the obsolete driver-i810 drm: Remove the obsolete driver-mga drm: Remove the obsolete driver-r128 drm: Remove the obsolete driver-savage drm: Remove the obsolete driver-sis drm: Remove the obsolete driver-tdfx drm: Remove the obsolete driver-via drm: Add comments to Kconfig drm: Remove some obsolete drm pciids(tdfx, mga, i810, savage, r128, sis, via) MAINTAINERS: Remove some obsolete drivers info(tdfx, mga, i810, savage, r128, sis) MAINTAINERS | 29 - drivers/gpu/drm/Kconfig | 59 +- drivers/gpu/drm/Makefile | 7 - drivers/gpu/drm/i810/Makefile | 8 - drivers/gpu/drm/i810/i810_dma.c | 1266 --------- drivers/gpu/drm/i810/i810_drv.c | 101 - drivers/gpu/drm/i810/i810_drv.h | 246 -- drivers/gpu/drm/mga/Makefile | 11 - drivers/gpu/drm/mga/mga_dma.c | 1168 -------- drivers/gpu/drm/mga/mga_drv.c | 104 - drivers/gpu/drm/mga/mga_drv.h | 685 ----- drivers/gpu/drm/mga/mga_ioc32.c | 197 -- drivers/gpu/drm/mga/mga_irq.c | 169 -- drivers/gpu/drm/mga/mga_state.c | 1099 -------- drivers/gpu/drm/mga/mga_warp.c | 167 -- drivers/gpu/drm/r128/Makefile | 10 - drivers/gpu/drm/r128/ati_pcigart.c | 228 -- drivers/gpu/drm/r128/ati_pcigart.h | 31 - drivers/gpu/drm/r128/r128_cce.c | 944 ------- drivers/gpu/drm/r128/r128_drv.c | 116 - drivers/gpu/drm/r128/r128_drv.h | 544 ---- drivers/gpu/drm/r128/r128_ioc32.c | 199 -- drivers/gpu/drm/r128/r128_irq.c | 118 - drivers/gpu/drm/r128/r128_state.c | 1641 ----------- drivers/gpu/drm/savage/Makefile | 9 - drivers/gpu/drm/savage/savage_bci.c | 1082 -------- drivers/gpu/drm/savage/savage_drv.c | 91 - drivers/gpu/drm/savage/savage_drv.h | 580 ---- drivers/gpu/drm/savage/savage_state.c | 1169 -------- drivers/gpu/drm/sis/Makefile | 10 - drivers/gpu/drm/sis/sis_drv.c | 143 - drivers/gpu/drm/sis/sis_drv.h | 80 - drivers/gpu/drm/sis/sis_mm.c | 363 --- drivers/gpu/drm/tdfx/Makefile | 8 - drivers/gpu/drm/tdfx/tdfx_drv.c | 90 - drivers/gpu/drm/tdfx/tdfx_drv.h | 47 - drivers/gpu/drm/via/Makefile | 8 - drivers/gpu/drm/via/via_3d_reg.h | 1771 ------------ drivers/gpu/drm/via/via_dri1.c | 3630 ------------------------- include/drm/drm_pciids.h | 112 - include/uapi/drm/i810_drm.h | 292 -- include/uapi/drm/mga_drm.h | 429 --- include/uapi/drm/r128_drm.h | 336 --- include/uapi/drm/savage_drm.h | 220 -- include/uapi/drm/sis_drm.h | 77 - include/uapi/drm/via_drm.h | 282 -- 46 files changed, 1 insertion(+), 19975 deletions(-) delete mode 100644 drivers/gpu/drm/i810/Makefile delete mode 100644 drivers/gpu/drm/i810/i810_dma.c delete mode 100644 drivers/gpu/drm/i810/i810_drv.c delete mode 100644 drivers/gpu/drm/i810/i810_drv.h delete mode 100644 drivers/gpu/drm/mga/Makefile delete mode 100644 drivers/gpu/drm/mga/mga_dma.c delete mode 100644 drivers/gpu/drm/mga/mga_drv.c delete mode 100644 drivers/gpu/drm/mga/mga_drv.h delete mode 100644 drivers/gpu/drm/mga/mga_ioc32.c delete mode 100644 drivers/gpu/drm/mga/mga_irq.c delete mode 100644 drivers/gpu/drm/mga/mga_state.c delete mode 100644 drivers/gpu/drm/mga/mga_warp.c delete mode 100644 drivers/gpu/drm/r128/Makefile delete mode 100644 drivers/gpu/drm/r128/ati_pcigart.c delete mode 100644 drivers/gpu/drm/r128/ati_pcigart.h delete mode 100644 drivers/gpu/drm/r128/r128_cce.c delete mode 100644 drivers/gpu/drm/r128/r128_drv.c delete mode 100644 drivers/gpu/drm/r128/r128_drv.h delete mode 100644 drivers/gpu/drm/r128/r128_ioc32.c delete mode 100644 drivers/gpu/drm/r128/r128_irq.c delete mode 100644 drivers/gpu/drm/r128/r128_state.c delete mode 100644 drivers/gpu/drm/savage/Makefile delete mode 100644 drivers/gpu/drm/savage/savage_bci.c delete mode 100644 drivers/gpu/drm/savage/savage_drv.c delete mode 100644 drivers/gpu/drm/savage/savage_drv.h delete mode 100644 drivers/gpu/drm/savage/savage_state.c delete mode 100644 drivers/gpu/drm/sis/Makefile delete mode 100644 drivers/gpu/drm/sis/sis_drv.c delete mode 100644 drivers/gpu/drm/sis/sis_drv.h delete mode 100644 drivers/gpu/drm/sis/sis_mm.c delete mode 100644 drivers/gpu/drm/tdfx/Makefile delete mode 100644 drivers/gpu/drm/tdfx/tdfx_drv.c delete mode 100644 drivers/gpu/drm/tdfx/tdfx_drv.h delete mode 100644 drivers/gpu/drm/via/Makefile delete mode 100644 drivers/gpu/drm/via/via_3d_reg.h delete mode 100644 drivers/gpu/drm/via/via_dri1.c delete mode 100644 include/uapi/drm/i810_drm.h delete mode 100644 include/uapi/drm/mga_drm.h delete mode 100644 include/uapi/drm/r128_drm.h delete mode 100644 include/uapi/drm/savage_drm.h delete mode 100644 include/uapi/drm/sis_drm.h delete mode 100644 include/uapi/drm/via_drm.h Acked-by: Thomas Zimmermann Acked-by: Daniel Vetter Acked-by: Dave Airlie