mirror of
https://github.com/Fishwaldo/build.git
synced 2025-04-17 19:41:37 +00:00
AR-1 - Adding support category for distributions AR-4 - Remove Allwinner legacy AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family AR-9 - Rename sunxi-next to sunxi-legacy AR-10 - Rename sunxi-dev to sunxi-current AR-11 - Adding Radxa Rockpi S support AR-13 - Rename rockchip64-default to rockchip64-legacy AR-14 - Add rockchip64-current as mainline source AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y AR-16 - Rename RK3399 default to legacy AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y AR-18 - Add Odroid N2 current mainline AR-19 - Move Odroid C1 to meson family AR-20 - Rename mvebu64-default to mvebu64-legacy AR-21 - Rename mvebu-default to mvebu-legacy AR-22 - Rename mvebu-next to mvebu-current AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6 AR-26 - Adjust motd AR-27 - Enabling distribution release status AR-28 - Added new GCC compilers AR-29 - Implementing Ubuntu Eoan AR-30 - Add desktop packages per board or family AR-31 - Remove (Ubuntu/Debian) distribution name from image filename AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files AR-33 - Revision numbers for beta builds changed to day_in_the_year AR-34 - Patches support linked patches AR-35 - Break meson64 family into gxbb and gxl AR-36 - Add Nanopineo2 Black AR-38 - Upgrade option from old branches to new one via armbian-config AR-41 - Show full timezone info AR-43 - Merge Odroid N2 to meson64 AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
83 lines
2.4 KiB
Diff
83 lines
2.4 KiB
Diff
From f7f324da0402ba4efe3656e68d573fb649fd60f5 Mon Sep 17 00:00:00 2001
|
|
From: Lima Project Developers <dri-devel@lists.freedesktop.org>
|
|
Date: Wed, 16 May 2018 11:17:06 +0800
|
|
Subject: [PATCH 060/146] drm/lima: add makefile and kconfig
|
|
|
|
Signed-off-by: Qiang Yu <yuq825@gmail.com>
|
|
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
|
|
Signed-off-by: Simon Shields <simon@lineageos.org>
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
drivers/gpu/drm/Kconfig | 2 ++
|
|
drivers/gpu/drm/Makefile | 1 +
|
|
drivers/gpu/drm/lima/Kconfig | 9 +++++++++
|
|
drivers/gpu/drm/lima/Makefile | 19 +++++++++++++++++++
|
|
4 files changed, 31 insertions(+)
|
|
create mode 100644 drivers/gpu/drm/lima/Kconfig
|
|
create mode 100644 drivers/gpu/drm/lima/Makefile
|
|
|
|
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
|
|
index cb88528e7b10..145c093c3dec 100644
|
|
--- a/drivers/gpu/drm/Kconfig
|
|
+++ b/drivers/gpu/drm/Kconfig
|
|
@@ -315,6 +315,8 @@ source "drivers/gpu/drm/tve200/Kconfig"
|
|
|
|
source "drivers/gpu/drm/xen/Kconfig"
|
|
|
|
+source "drivers/gpu/drm/lima/Kconfig"
|
|
+
|
|
# Keep legacy drivers last
|
|
|
|
menuconfig DRM_LEGACY
|
|
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
|
|
index a6771cef85e2..302b4c8e7cf0 100644
|
|
--- a/drivers/gpu/drm/Makefile
|
|
+++ b/drivers/gpu/drm/Makefile
|
|
@@ -107,3 +107,4 @@ obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
|
|
obj-$(CONFIG_DRM_PL111) += pl111/
|
|
obj-$(CONFIG_DRM_TVE200) += tve200/
|
|
obj-$(CONFIG_DRM_XEN) += xen/
|
|
+obj-$(CONFIG_DRM_LIMA) += lima/
|
|
diff --git a/drivers/gpu/drm/lima/Kconfig b/drivers/gpu/drm/lima/Kconfig
|
|
new file mode 100644
|
|
index 000000000000..4ce9ac2e8204
|
|
--- /dev/null
|
|
+++ b/drivers/gpu/drm/lima/Kconfig
|
|
@@ -0,0 +1,9 @@
|
|
+
|
|
+config DRM_LIMA
|
|
+ tristate "LIMA (DRM support for ARM Mali 400/450 GPU)"
|
|
+ depends on DRM
|
|
+ depends on ARCH_SUNXI || ARCH_ROCKCHIP || ARCH_EXYNOS || ARCH_MESON
|
|
+ select DRM_SCHED
|
|
+ select DRM_TTM
|
|
+ help
|
|
+ DRM driver for ARM Mali 400/450 GPUs.
|
|
diff --git a/drivers/gpu/drm/lima/Makefile b/drivers/gpu/drm/lima/Makefile
|
|
new file mode 100644
|
|
index 000000000000..0a1d6605f164
|
|
--- /dev/null
|
|
+++ b/drivers/gpu/drm/lima/Makefile
|
|
@@ -0,0 +1,19 @@
|
|
+lima-y := \
|
|
+ lima_drv.o \
|
|
+ lima_device.o \
|
|
+ lima_pmu.o \
|
|
+ lima_l2_cache.o \
|
|
+ lima_mmu.o \
|
|
+ lima_gp.o \
|
|
+ lima_pp.o \
|
|
+ lima_gem.o \
|
|
+ lima_vm.o \
|
|
+ lima_sched.o \
|
|
+ lima_ctx.o \
|
|
+ lima_gem_prime.o \
|
|
+ lima_dlbu.o \
|
|
+ lima_bcast.o \
|
|
+ lima_ttm.o \
|
|
+ lima_object.o
|
|
+
|
|
+obj-$(CONFIG_DRM_LIMA) += lima.o
|
|
--
|
|
2.17.1
|
|
|