Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4614045imu; Tue, 29 Jan 2019 04:43:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN6i1uSMPNvkSaQ/+vHdrHh0UHsifIq41K8YCTsovPnTh+xlgPodX+rg3fqLfFj+24y8tREI X-Received: by 2002:a17:902:1e9:: with SMTP id b96mr25905934plb.150.1548765821835; Tue, 29 Jan 2019 04:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548765821; cv=none; d=google.com; s=arc-20160816; b=YAb2LW6VTZ/UyJU1cjSoOEvz8YuhJfpjVEpLvZIS3PaMY9t1OIitT25cnCYv19DuhY zwsj/uIV0j5bZkuaFcmuFVqRvJOMmC4UPxbxTp+96RoTkg97nKEsr1navEk6lbFrwsTK Emz+RkP/LPIxU33NFJ1uPAOUErvWT0YedWSzmXX9xL8PD+rYwJqoxDpI3Zf7hbMH/0Y7 HA75hHWK0hXqAIwTcsX1doM0DrNI3gXSXT4fk3r3KZnnpu3Pej76LhSMfj2xXFe5mgN/ 47YJh9RxfKhGzKntlno/wsoOVWk7Md6+WmgQ54SJjN6U6s7uBmfcmC5Zfp0ZdCaJU+J+ Bfrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ioMHCbpkyjX3OEtgJ34mHIGOuCl3PcaoT46pMx0nnWk=; b=GnFnFjZc+LSoSohqcpB5yBBS96rfcrr5IHUgqLPT693s1MzSOx9gVUxbro5bMs1wQ4 ukSKfg2oaUMupx7FH5GbzZ3JNh99x+7S13XOq0SytOz5+Lm76dG85ptG52OVfFgm6nTp cq3ZDndKdx/PvK7GM0jtuldJz0gtoUMqJeIWHeRkOu20DW9ftQYEKvhwyuQf6Hl7seyF QU/IM2ryN8OlGQ5S8mG4jTLG3MHysMoQLbbMu7ApTx+B1EPdgL2UirVKL88QmuhjVRiC 25iAbx2rJNqV/s/5vp8xch5voAS8MLRwanSjoL61Dcm9nkryhIBg3VifdhlCPC3ThkPV 53nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="Q4ebC/dF"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si6201642pgk.495.2019.01.29.04.43.26; Tue, 29 Jan 2019 04:43:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="Q4ebC/dF"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728708AbfA2Mlw (ORCPT + 99 others); Tue, 29 Jan 2019 07:41:52 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:52014 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727033AbfA2Mlw (ORCPT ); Tue, 29 Jan 2019 07:41:52 -0500 Received: from mailhost.synopsys.com (dc2-mailhost1.synopsys.com [10.12.135.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id C300B10C1517; Tue, 29 Jan 2019 04:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1548765712; bh=+uHavXaddJ5HFZry+KA7QdTYYrtwFxkGmDlzdkwAewM=; h=From:To:Cc:Subject:Date:From; b=Q4ebC/dFMS5nesLR4q/mbpbzCM0GA4kygsX3ljZxak0knVniumSsKU89RhpsgBgBx 88vXJIxsR6PNUwMmnUDYMbKAs80ZUPrl5q7n+btoMkA02Ny9hAgd/5RWUlt3O2Rgk3 wT87DWGZO9E6vlMI39sA1RFGrbu3jFcqRpvsE0FN6ztBNmvwWsg4PkmoNxjt1TOtln U/aeUJzisdvo0bsuCIRjuMdoQyBcNtuDucm5uN1J+QhJbNSrl2kB/AQ/3BFv9bYOu6 aoH8kTd7ge2n7+YjOF112ZJQEjJCZWEfM2QBXDwMIxch78EeaY4xDIluprpd8ob64w LdPZ4p6vfOwDw== Received: from paltsev-e7480.internal.synopsys.com (unknown [10.121.8.46]) by mailhost.synopsys.com (Postfix) with ESMTP id 852B0A008B; Tue, 29 Jan 2019 12:41:49 +0000 (UTC) From: Eugeniy Paltsev To: linux-snps-arc@lists.infradead.org, Vineet Gupta Cc: linux-kernel@vger.kernel.org, Alexey Brodkin , Rob Herring , devicetree@vger.kernel.org, Lucas Stach , Eugeniy Paltsev Subject: [PATCH] ARC: [plat-hsdk]: Add support of Vivante GPU Date: Tue, 29 Jan 2019 15:41:46 +0300 Message-Id: <20190129124146.5398-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HSDK board has built-in Vivante GPU IP which works perfectly fine with Etnaviv driver, so let's use it. Signed-off-by: Eugeniy Paltsev --- NOTE: * this patch has prerequisite: https://patchwork.kernel.org/patch/10766265/ arch/arc/boot/dts/hsdk.dts | 6 ++++++ arch/arc/configs/hsdk_defconfig | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index 43f17b51ee89..ef892994f024 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -237,6 +237,12 @@ reg = <0>; }; }; + + gpu_3d: gpu@90000 { + compatible = "vivante,gc"; + reg = <0x90000 0x4000>; + interrupts = <28>; + }; }; memory@80000000 { diff --git a/arch/arc/configs/hsdk_defconfig b/arch/arc/configs/hsdk_defconfig index 87b23b7fb781..915e1cca31f8 100644 --- a/arch/arc/configs/hsdk_defconfig +++ b/arch/arc/configs/hsdk_defconfig @@ -52,6 +52,7 @@ CONFIG_GPIO_DWAPB=y CONFIG_DRM=y # CONFIG_DRM_FBDEV_EMULATION is not set CONFIG_DRM_UDL=y +CONFIG_DRM_ETNAVIV=y CONFIG_FB=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_USB_EHCI_HCD=y @@ -63,7 +64,6 @@ CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_DW=y -# CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT3_FS=y CONFIG_VFAT_FS=y CONFIG_TMPFS=y -- 2.14.5