From patchwork Mon Oct 26 12:03:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 7487671 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8E2479F36A for ; Mon, 26 Oct 2015 12:04:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A984A207E3 for ; Mon, 26 Oct 2015 12:04:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABD37207EF for ; Mon, 26 Oct 2015 12:04:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488AbbJZMEG (ORCPT ); Mon, 26 Oct 2015 08:04:06 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:48912 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753588AbbJZMEF (ORCPT ); Mon, 26 Oct 2015 08:04:05 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWT0009NTISML20@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 26 Oct 2015 12:04:04 +0000 (GMT) X-AuditID: cbfec7f5-f794b6d000001495-86-562e16b31876 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id E8.CB.05269.3B61E265; Mon, 26 Oct 2015 12:04:03 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWT001LDTIGOU00@eusync3.samsung.com>; Mon, 26 Oct 2015 12:04:03 +0000 (GMT) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Kyungmin Park , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR EXYNOS), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES) Subject: [PATCH 6/7] drm/exynos: re-arrange Kconfig entries Date: Mon, 26 Oct 2015 13:03:44 +0100 Message-id: <1445861025-23266-7-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1445861025-23266-1-git-send-email-a.hajda@samsung.com> References: <1445861025-23266-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Vd3NYnphBk92y1ncWneO1WLjjPWs Fle+vmezmHR/AovF6xeGFmeb3rBbzDi/j8li7ZG77A4cHve7jzN59G1ZxejxeZNcAHMUl01K ak5mWWqRvl0CV8aXvUvYCjpEKmY++cDUwPidv4uRk0NCwERic9dEJghbTOLCvfVsXYxcHEIC Sxkl5s+cyg7hNDFJ/F70nh2kik1AU+Lv5ptsILaIgLLEqn3tYHFmgX5miSsbTboYOTiEBawl ek6ADWURUJX4ePo8C4jNK+AscejII1aIZXISJ49NBrM5BVwkli17DDZGCKhm8s0pbBMYeRcw MqxiFE0tTS4oTkrPNdIrTswtLs1L10vOz93ECAmkrzsYlx6zOsQowMGoxMPrwK8bJsSaWFZc mXuIUYKDWUmE1+c3UIg3JbGyKrUoP76oNCe1+BCjNAeLkjjvzF3vQ4QE0hNLUrNTUwtSi2Cy TBycUg2MofycM7xSf/5L3DlJ30pL/+AJl5bH6kIxf38kvN+07rDZ68wD7yoDkr6/VHu6XNLr 5oxnr/5cPfZ67mVjr0Qhq7TPPfoPTHxfzSvTuCVt/lZpalehp80JL/UFIds6DHleuV+9r5PJ tuezvdKXFosPlnrnFE6U7ukPu7+eOy3vvK3zvyPHex5KKLEUZyQaajEXFScCAH8dMFIgAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos DRM driver have quite big number of components and options. The patch re-arranges them into three logical groups: - CRTCs, - Encoders and Bridges, - Sub-drivers. It should make driver options more clear. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/Kconfig | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 25351d0..86ff8ab 100644 --- a/drivers/gpu/drm/exynos/Kconfig +++ b/drivers/gpu/drm/exynos/Kconfig @@ -18,6 +18,8 @@ config DRM_EXYNOS_IOMMU depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU default y +comment "CRTCs" + config DRM_EXYNOS_FIMD bool "Exynos DRM FIMD" depends on !FB_S3C @@ -38,9 +40,22 @@ config DRM_EXYNOS7_DECON help Choose this option if you want to use Exynos DECON for DRM. +config DRM_EXYNOS_MIXER + bool "Exynos DRM Mixer" + depends on !VIDEO_SAMSUNG_S5P_TV + help + Choose this option if you want to use Exynos Mixer for DRM. + +config DRM_EXYNOS_VIDI + bool "Exynos DRM Virtual Display" + help + Choose this option if you want to use Exynos VIDI for DRM. + +comment "Encoders and Bridges" + config DRM_EXYNOS_DPI bool "EXYNOS DRM parallel output support" - depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON + depends on DRM_EXYNOS_FIMD select DRM_PANEL default n help @@ -63,22 +78,19 @@ config DRM_EXYNOS_DP help This enables support for DP device. -config DRM_EXYNOS_MIXER - bool "Exynos DRM Mixer" - depends on !VIDEO_SAMSUNG_S5P_TV - help - Choose this option if you want to use Exynos Mixer for DRM. - config DRM_EXYNOS_HDMI bool "Exynos DRM HDMI" depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON) help Choose this option if you want to use Exynos HDMI for DRM. -config DRM_EXYNOS_VIDI - bool "Exynos DRM Virtual Display" +config DRM_EXYNOS_MIC + bool "Exynos DRM MIC" + depends on DRM_EXYNOS5433_DECON help - Choose this option if you want to use Exynos VIDI for DRM. + Choose this option if you want to use Exynos MIC for DRM. + +comment "Sub-drivers" config DRM_EXYNOS_G2D bool "Exynos DRM G2D" @@ -110,10 +122,4 @@ config DRM_EXYNOS_GSC help Choose this option if you want to use Exynos GSC for DRM. -config DRM_EXYNOS_MIC - bool "Exynos DRM MIC" - depends on DRM_EXYNOS5433_DECON - help - Choose this option if you want to use Exynos MIC for DRM. - endif