From patchwork Tue Sep 4 16:36:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10588403 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 742595A4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62289299D4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56718299DA; Wed, 5 Sep 2018 08:13:39 +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 1D73F299D4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 509096E3FB; Wed, 5 Sep 2018 08:13:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7156F6E19A for ; Tue, 4 Sep 2018 16:36:39 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id l63-v6so1927404pga.7 for ; Tue, 04 Sep 2018 09:36:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q9bOpKtT4W64lwZMrmVPiyErnb0NEJ999Mlna9mqz7w=; b=tJ71ddkEMU4KiN7sn5vPkxmSlL+VYniTDzIr9/Gag9LpmfLV8f3GqE0IyaISf2tHB6 9lQerCn/h5z2p3cI6yV7RqdiMWKxiLLY5S9ZGeuXnF9Dm/ENV0dJq5B8XmgpLwQbp+J1 oBrG0Y3BeDXjF6tKCW0tV+cZy8EOrf2KSsLESMNrR7R7H8Wx1vv3OiYRHKIWaHz16Gzr CpWuGHQXFk8b84q/BNwB8a1GyrnHHPD2T7EuoegOKIB58WJzHu7fRk1QyBylkHaVQGrw THDsx5pGhthRRmwP7akFOFsIKJOuqcnw+Z0qR6Ex8WwL3+Hn/tbOjaZHEQ/PakH5sLfK nFQw== X-Gm-Message-State: APzg51BMYwh3X2mP3ForSPg1U5xFgZP2zqbTNFUE5yF8ElGLTMl73PJG Z3uJiHNV8jcmBrDOdOBhr4CJmQ== X-Google-Smtp-Source: ANB0VdZ86wTfwbAI8I9JCTCrGMhsgp0MqDGf1bjquAQueFzYPMhGcU6nR47WhNvlEaC962k/vQrjyQ== X-Received: by 2002:a63:4826:: with SMTP id v38-v6mr32254789pga.379.1536078999046; Tue, 04 Sep 2018 09:36:39 -0700 (PDT) Received: from localhost.localdomain ([183.82.230.161]) by smtp.gmail.com with ESMTPSA id t2-v6sm36037072pfj.7.2018.09.04.09.36.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:36:38 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v4 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I Date: Tue, 4 Sep 2018 22:06:09 +0530 Message-Id: <20180904163609.10171-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20180904163609.10171-1-jagan@amarulasolutions.com> References: <20180904163609.10171-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 05 Sep 2018 08:13:25 +0000 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: Jagan Teki Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner SUN50I are now using DesignWare HDMI so enable them as default. This can build DRM_SUN8I_DW_HDMI as module since DRM in arm64 has module. Making this as defult to SUN8I, may cause an issue while loading since arm32 DRM built as static. Signed-off-by: Jagan Teki --- Changes for v4: - none Changes for v3: - skip SUN8I enablement, since it built statically for arm32 Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index cfa8b96273fb..5d0c450db148 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -52,6 +52,7 @@ config DRM_SUN6I_DSI config DRM_SUN8I_DW_HDMI tristate "Support for Allwinner version of DesignWare HDMI" + default ARM64 && ARCH_SUNXI depends on DRM_SUN4I select DRM_DW_HDMI help