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