From patchwork Thu Jul 25 10:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 11058595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 303FC13A0 for ; Thu, 25 Jul 2019 10:51:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1595028999 for ; Thu, 25 Jul 2019 10:51:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 085CF2899D; Thu, 25 Jul 2019 10:51:46 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 515A628999 for ; Thu, 25 Jul 2019 10:51:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7EE06E6EC; Thu, 25 Jul 2019 10:51:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6410E6E6EE for ; Thu, 25 Jul 2019 10:51:43 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:13951 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hqbLZ-0002ww-Fu; Thu, 25 Jul 2019 12:51:41 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM Date: Thu, 25 Jul 2019 12:51:30 +0200 Message-Id: <20190725105132.22545-2-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190725105132.22545-1-noralf@tronnes.org> References: <20190725105132.22545-1-noralf@tronnes.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=KiLxLDPbQKgOIRLHiMbvz8QzPaSiZyiHBzjmsJ3ZVa8=; b=RV3//yGz8esgAjmMsqolYXA2ltodG/zxtJBXCI6LRWjPIl24NIyxSW3HWfpKAvU+PLVvcnanA+ZqXc7rTakZQd6Pzs0L+NOxiJbdosruZ/Y2jBN7FkJfGcFc7zMezZ7ADsUobpIWvoIhT7KckX7sMNMB/crypP93IEnavw3Gedv/2ZWc02b70UtW8WeYo3Np1y4Np10P620hPozas+oYxag5H5XUgW71nUWJod3uqvW07hhex/CkYA3cdoABnhIASr0zcidMXlV5AC35GjiDjpRz+E9jnsZy4avN+OUtyDWRzbcQnujFzX8hBUq9mo5kxSVfH4I2WOG6cxhfFrHtiA==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@ffwll.ch, sam@ravnborg.org, hdegoede@redhat.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This makes the tiny drivers visible by default without having to enable a knob. Signed-off-by: Noralf Trønnes Reviewed-by: Hans de Goede to it once --- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/tinydrm/Kconfig | 37 +++++++++++++++++++-------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 98c732f925c7..0b30afa7524d 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -112,7 +112,7 @@ obj-$(CONFIG_DRM_ARCPGU)+= arc/ obj-y += hisilicon/ obj-$(CONFIG_DRM_ZTE) += zte/ obj-$(CONFIG_DRM_MXSFB) += mxsfb/ -obj-$(CONFIG_DRM_TINYDRM) += tinydrm/ +obj-y += tinydrm/ obj-$(CONFIG_DRM_PL111) += pl111/ obj-$(CONFIG_DRM_TVE200) += tve200/ obj-$(CONFIG_DRM_XEN) += xen/ diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tinydrm/Kconfig index 42b06f4f8989..f8c9a0e71dde 100644 --- a/drivers/gpu/drm/tinydrm/Kconfig +++ b/drivers/gpu/drm/tinydrm/Kconfig @@ -1,16 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only -menuconfig DRM_TINYDRM - tristate "Support for simple displays" - depends on DRM - select DRM_KMS_HELPER - select DRM_KMS_CMA_HELPER - help - Choose this option if you have a tinydrm supported display. - If M is selected the module will be called tinydrm. - config TINYDRM_HX8357D tristate "DRM support for HX8357D display panels" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI select BACKLIGHT_CLASS_DEVICE help @@ -21,7 +14,9 @@ config TINYDRM_HX8357D config TINYDRM_ILI9225 tristate "DRM support for ILI9225 display panels" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI help DRM driver for the following Ilitek ILI9225 panels: @@ -31,7 +26,9 @@ config TINYDRM_ILI9225 config TINYDRM_ILI9341 tristate "DRM support for ILI9341 display panels" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI select BACKLIGHT_CLASS_DEVICE help @@ -42,7 +39,9 @@ config TINYDRM_ILI9341 config TINYDRM_MI0283QT tristate "DRM support for MI0283QT" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI select BACKLIGHT_CLASS_DEVICE help @@ -51,7 +50,9 @@ config TINYDRM_MI0283QT config TINYDRM_REPAPER tristate "DRM support for Pervasive Displays RePaper panels (V231)" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER depends on THERMAL || !THERMAL help DRM driver for the following Pervasive Displays panels: @@ -64,7 +65,9 @@ config TINYDRM_REPAPER config TINYDRM_ST7586 tristate "DRM support for Sitronix ST7586 display panels" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI help DRM driver for the following Sitronix ST7586 panels: @@ -74,7 +77,9 @@ config TINYDRM_ST7586 config TINYDRM_ST7735R tristate "DRM support for Sitronix ST7735R display panels" - depends on DRM_TINYDRM && SPI + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DBI select BACKLIGHT_CLASS_DEVICE help From patchwork Thu Jul 25 10:51:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 11058601 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38D6C13A0 for ; Thu, 25 Jul 2019 10:51:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2718B28999 for ; Thu, 25 Jul 2019 10:51:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B6CC2899D; Thu, 25 Jul 2019 10:51:52 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 91C2E28999 for ; Thu, 25 Jul 2019 10:51:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E15E6E6F2; Thu, 25 Jul 2019 10:51:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EDC86E6EC for ; Thu, 25 Jul 2019 10:51:43 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:13951 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hqbLZ-0002ww-Nt; Thu, 25 Jul 2019 12:51:41 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] drm/tinydrm: Rename folder to tiny Date: Thu, 25 Jul 2019 12:51:31 +0200 Message-Id: <20190725105132.22545-3-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190725105132.22545-1-noralf@tronnes.org> References: <20190725105132.22545-1-noralf@tronnes.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=cIQV+cmaysIkAQ8w4b5ZLAMNDawuUYwa6ubJpEumg88=; b=TzaIDHEYQ3Y/A8QnlL7+fo1NeNNQr6iQ5zecgaCxOx1n2GvtN9w8os3P2d+0Nus8B1mEFrQVgE8IGG2Gn6oFhVqlaOGrVQssa/iMJZCzdzsP4CMiJ3BD+feAyXhnw/SpJFTLeih44W6yKrGTNABaWz3bjxTv2JzH8EpOfMAYmNxgaiNvsGQFZ37rPpo1li1DwocMLyDFhs4CwSTcDYEkJVuVLHpEPp3MTCDvviunXahFcX69doirGt5lXxmiLhBl9voRADBdRrBSs18IcjwCbMpYsq5UN+NFLtn1+m5nK23HIOW5KKiYQyd+NHnWvE/He+ddhMyaXxWdS/Bqh0bHXg==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@ffwll.ch, sam@ravnborg.org, hdegoede@redhat.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The drm in tinydrm is superfluous so rename to tiny. Suggested-by: Daniel Vetter Signed-off-by: Noralf Trønnes --- MAINTAINERS | 12 ++++++------ drivers/gpu/drm/Kconfig | 2 +- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/{tinydrm => tiny}/Kconfig | 0 drivers/gpu/drm/{tinydrm => tiny}/Makefile | 0 drivers/gpu/drm/{tinydrm => tiny}/hx8357d.c | 0 drivers/gpu/drm/{tinydrm => tiny}/ili9225.c | 0 drivers/gpu/drm/{tinydrm => tiny}/ili9341.c | 0 drivers/gpu/drm/{tinydrm => tiny}/mi0283qt.c | 0 drivers/gpu/drm/{tinydrm => tiny}/repaper.c | 0 drivers/gpu/drm/{tinydrm => tiny}/st7586.c | 0 drivers/gpu/drm/{tinydrm => tiny}/st7735r.c | 0 12 files changed, 8 insertions(+), 8 deletions(-) rename drivers/gpu/drm/{tinydrm => tiny}/Kconfig (100%) rename drivers/gpu/drm/{tinydrm => tiny}/Makefile (100%) rename drivers/gpu/drm/{tinydrm => tiny}/hx8357d.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/ili9225.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/ili9341.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/mi0283qt.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/repaper.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/st7586.c (100%) rename drivers/gpu/drm/{tinydrm => tiny}/st7735r.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 060ffe635832..00c7cbc92711 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5105,14 +5105,14 @@ DRM DRIVER FOR ILITEK ILI9225 PANELS M: David Lechner T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/ili9225.c +F: drivers/gpu/drm/tiny/ili9225.c F: Documentation/devicetree/bindings/display/ilitek,ili9225.txt DRM DRIVER FOR HX8357D PANELS M: Eric Anholt T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/hx8357d.c +F: drivers/gpu/drm/tiny/hx8357d.c F: Documentation/devicetree/bindings/display/himax,hx8357d.txt DRM DRIVER FOR INTEL I810 VIDEO CARDS @@ -5134,7 +5134,7 @@ DRM DRIVER FOR MI0283QT M: Noralf Trønnes T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/mi0283qt.c +F: drivers/gpu/drm/tiny/mi0283qt.c F: Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt DRM DRIVER FOR MSM ADRENO GPU @@ -5168,7 +5168,7 @@ DRM DRIVER FOR PERVASIVE DISPLAYS REPAPER PANELS M: Noralf Trønnes T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/repaper.c +F: drivers/gpu/drm/tiny/repaper.c F: Documentation/devicetree/bindings/display/repaper.txt DRM DRIVER FOR QEMU'S CIRRUS DEVICE @@ -5228,14 +5228,14 @@ DRM DRIVER FOR SITRONIX ST7586 PANELS M: David Lechner T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/st7586.c +F: drivers/gpu/drm/tiny/st7586.c F: Documentation/devicetree/bindings/display/sitronix,st7586.txt DRM DRIVER FOR SITRONIX ST7735R PANELS M: David Lechner T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/tinydrm/st7735r.c +F: drivers/gpu/drm/tiny/st7735r.c F: Documentation/devicetree/bindings/display/sitronix,st7735r.txt DRM DRIVER FOR ST-ERICSSON MCDE diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index a88581b0f002..a5ae0d369e88 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -340,7 +340,7 @@ source "drivers/gpu/drm/mxsfb/Kconfig" source "drivers/gpu/drm/meson/Kconfig" -source "drivers/gpu/drm/tinydrm/Kconfig" +source "drivers/gpu/drm/tiny/Kconfig" source "drivers/gpu/drm/pl111/Kconfig" diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 0b30afa7524d..1d366c4bbd1f 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -112,7 +112,7 @@ obj-$(CONFIG_DRM_ARCPGU)+= arc/ obj-y += hisilicon/ obj-$(CONFIG_DRM_ZTE) += zte/ obj-$(CONFIG_DRM_MXSFB) += mxsfb/ -obj-y += tinydrm/ +obj-y += tiny/ obj-$(CONFIG_DRM_PL111) += pl111/ obj-$(CONFIG_DRM_TVE200) += tve200/ obj-$(CONFIG_DRM_XEN) += xen/ diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tiny/Kconfig similarity index 100% rename from drivers/gpu/drm/tinydrm/Kconfig rename to drivers/gpu/drm/tiny/Kconfig diff --git a/drivers/gpu/drm/tinydrm/Makefile b/drivers/gpu/drm/tiny/Makefile similarity index 100% rename from drivers/gpu/drm/tinydrm/Makefile rename to drivers/gpu/drm/tiny/Makefile diff --git a/drivers/gpu/drm/tinydrm/hx8357d.c b/drivers/gpu/drm/tiny/hx8357d.c similarity index 100% rename from drivers/gpu/drm/tinydrm/hx8357d.c rename to drivers/gpu/drm/tiny/hx8357d.c diff --git a/drivers/gpu/drm/tinydrm/ili9225.c b/drivers/gpu/drm/tiny/ili9225.c similarity index 100% rename from drivers/gpu/drm/tinydrm/ili9225.c rename to drivers/gpu/drm/tiny/ili9225.c diff --git a/drivers/gpu/drm/tinydrm/ili9341.c b/drivers/gpu/drm/tiny/ili9341.c similarity index 100% rename from drivers/gpu/drm/tinydrm/ili9341.c rename to drivers/gpu/drm/tiny/ili9341.c diff --git a/drivers/gpu/drm/tinydrm/mi0283qt.c b/drivers/gpu/drm/tiny/mi0283qt.c similarity index 100% rename from drivers/gpu/drm/tinydrm/mi0283qt.c rename to drivers/gpu/drm/tiny/mi0283qt.c diff --git a/drivers/gpu/drm/tinydrm/repaper.c b/drivers/gpu/drm/tiny/repaper.c similarity index 100% rename from drivers/gpu/drm/tinydrm/repaper.c rename to drivers/gpu/drm/tiny/repaper.c diff --git a/drivers/gpu/drm/tinydrm/st7586.c b/drivers/gpu/drm/tiny/st7586.c similarity index 100% rename from drivers/gpu/drm/tinydrm/st7586.c rename to drivers/gpu/drm/tiny/st7586.c diff --git a/drivers/gpu/drm/tinydrm/st7735r.c b/drivers/gpu/drm/tiny/st7735r.c similarity index 100% rename from drivers/gpu/drm/tinydrm/st7735r.c rename to drivers/gpu/drm/tiny/st7735r.c From patchwork Thu Jul 25 10:51:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 11058597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B7CE138D for ; Thu, 25 Jul 2019 10:51:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A41F28999 for ; Thu, 25 Jul 2019 10:51:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CC552899D; Thu, 25 Jul 2019 10:51:48 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 EB82B28999 for ; Thu, 25 Jul 2019 10:51:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E14F66E6EE; Thu, 25 Jul 2019 10:51:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA4876E6EE for ; Thu, 25 Jul 2019 10:51:43 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:13951 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hqbLZ-0002ww-WA; Thu, 25 Jul 2019 12:51:42 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/3] drm/gm12u320: Move driver to drm/tiny Date: Thu, 25 Jul 2019 12:51:32 +0200 Message-Id: <20190725105132.22545-4-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190725105132.22545-1-noralf@tronnes.org> References: <20190725105132.22545-1-noralf@tronnes.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=S770VCOvludGc5BeNBj/v06KkolEJR1BQzKMA7XrjqY=; b=mvB7ayq6Cj4O3lOPIzsiG2Pg+nGe77MfdJ34raWjYkzHgbFU5Vl37M5kGNxIcrs9EPOJ1NgSge94odtIlQBjPqAlvJHOqc+HWB3iSQ/g63GPDIW7Wcr6PMK91hYxUx+zPAKNW3Z7iJct2irEqSr6/BKb1/55wvTp/qAh2ClEDCOwBFw59i7tydvwzDcIFdgKOoRMTkOvwO7nwpJK3zVlD09jWEXGnC6F/bBiUo6LrnO/rR8WlqELPbXgpP5uXahT91Ha0USKyuPNMxxzvFwklatYg5G5U7duRJgK0fZDsKrU4trmzBffh/r1IQVaBMoUX0rFOilu8+fmEuAsFp1q1w==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@ffwll.ch, sam@ravnborg.org, hdegoede@redhat.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Move the driver to the new haven for tiny DRM drivers. Cc: Hans de Goede Suggested-by: Daniel Vetter Signed-off-by: Noralf Trønnes --- MAINTAINERS | 2 +- drivers/gpu/drm/Kconfig | 2 -- drivers/gpu/drm/Makefile | 1 - drivers/gpu/drm/gm12u320/Kconfig | 9 --------- drivers/gpu/drm/gm12u320/Makefile | 2 -- drivers/gpu/drm/tiny/Kconfig | 10 ++++++++++ drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/{gm12u320 => tiny}/gm12u320.c | 0 8 files changed, 12 insertions(+), 15 deletions(-) delete mode 100644 drivers/gpu/drm/gm12u320/Kconfig delete mode 100644 drivers/gpu/drm/gm12u320/Makefile rename drivers/gpu/drm/{gm12u320 => tiny}/gm12u320.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 00c7cbc92711..6fe3462a1f7a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5099,7 +5099,7 @@ DRM DRIVER FOR GRAIN MEDIA GM12U320 PROJECTORS M: Hans de Goede T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained -F: drivers/gpu/drm/gm12u320/ +F: drivers/gpu/drm/tiny/gm12u320.c DRM DRIVER FOR ILITEK ILI9225 PANELS M: David Lechner diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index a5ae0d369e88..e6f40fb54c9a 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -358,8 +358,6 @@ source "drivers/gpu/drm/aspeed/Kconfig" source "drivers/gpu/drm/mcde/Kconfig" -source "drivers/gpu/drm/gm12u320/Kconfig" - # Keep legacy drivers last menuconfig DRM_LEGACY diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 1d366c4bbd1f..10f8329a8b71 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -121,4 +121,3 @@ obj-$(CONFIG_DRM_LIMA) += lima/ obj-$(CONFIG_DRM_PANFROST) += panfrost/ obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/ obj-$(CONFIG_DRM_MCDE) += mcde/ -obj-$(CONFIG_DRM_GM12U320) += gm12u320/ diff --git a/drivers/gpu/drm/gm12u320/Kconfig b/drivers/gpu/drm/gm12u320/Kconfig deleted file mode 100644 index 0882a61c04d5..000000000000 --- a/drivers/gpu/drm/gm12u320/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -config DRM_GM12U320 - tristate "GM12U320 driver for USB projectors" - depends on DRM && USB - select DRM_KMS_HELPER - select DRM_GEM_SHMEM_HELPER - help - This is a KMS driver for projectors which use the GM12U320 chipset - for video transfer over USB2/3, such as the Acer C120 mini projector. diff --git a/drivers/gpu/drm/gm12u320/Makefile b/drivers/gpu/drm/gm12u320/Makefile deleted file mode 100644 index ea514382f00d..000000000000 --- a/drivers/gpu/drm/gm12u320/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -obj-$(CONFIG_DRM_GM12U320) += gm12u320.o diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig index f8c9a0e71dde..504763423d46 100644 --- a/drivers/gpu/drm/tiny/Kconfig +++ b/drivers/gpu/drm/tiny/Kconfig @@ -1,4 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only + +config DRM_GM12U320 + tristate "GM12U320 driver for USB projectors" + depends on DRM && USB + select DRM_KMS_HELPER + select DRM_GEM_SHMEM_HELPER + help + This is a KMS driver for projectors which use the GM12U320 chipset + for video transfer over USB2/3, such as the Acer C120 mini projector. + config TINYDRM_HX8357D tristate "DRM support for HX8357D display panels" depends on DRM && SPI diff --git a/drivers/gpu/drm/tiny/Makefile b/drivers/gpu/drm/tiny/Makefile index 6490167a9ad1..896cf31132d3 100644 --- a/drivers/gpu/drm/tiny/Makefile +++ b/drivers/gpu/drm/tiny/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_DRM_GM12U320) += gm12u320.o obj-$(CONFIG_TINYDRM_HX8357D) += hx8357d.o obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o obj-$(CONFIG_TINYDRM_ILI9341) += ili9341.o diff --git a/drivers/gpu/drm/gm12u320/gm12u320.c b/drivers/gpu/drm/tiny/gm12u320.c similarity index 100% rename from drivers/gpu/drm/gm12u320/gm12u320.c rename to drivers/gpu/drm/tiny/gm12u320.c