diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch')
-rw-r--r-- | bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch b/bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch new file mode 100644 index 00000000..a174b16d --- /dev/null +++ b/bsp/meta-synopsys/recipes-kernel/linux/linux-arc/0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch @@ -0,0 +1,54 @@ +From 7b63fe0f359d78fa226b3c805a8a8a1772cb5e71 Mon Sep 17 00:00:00 2001 +From: Evgeniy Didin <Evgeniy.Didin@synopsys.com> +Date: Thu, 13 Dec 2018 17:11:57 +0300 +Subject: [PATCH] ARC plat hsdk Add Support of Vivante GPU + +Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> +--- + arch/arc/boot/dts/hsdk.dts | 6 ++++++ + arch/arc/configs/hsdk_defconfig | 3 +-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts +index 3c777a3c114e..014f6bab1cf5 100644 +--- a/arch/arc/boot/dts/hsdk.dts ++++ b/arch/arc/boot/dts/hsdk.dts +@@ -222,6 +222,12 @@ + bus-width = <4>; + dma-coherent; + }; ++ ++ 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 2a1d2cbfee1a..fd0ba7298050 100644 +--- a/arch/arc/configs/hsdk_defconfig ++++ b/arch/arc/configs/hsdk_defconfig +@@ -49,6 +49,7 @@ CONFIG_SERIAL_OF_PLATFORM=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 +@@ -60,10 +61,8 @@ 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 + CONFIG_NFS_FS=y + CONFIG_NFS_V3_ACL=y + CONFIG_NLS_CODEPAGE_437=y +-- +2.16.2 + |