Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Commit c0f2b13

Browse files
gtucker-gmailldts
authored andcommitted
drivers/gpu/arm/utgard: add basic HiKey platform files
Add Mali Utgard GPU driver platform files to support the HiKey board (HI6220), based on the Balong platform. Note: GPU DVFS is not implemented and a custom Device Tree entry is needed by these platform files. This is a first working version that needs to be improved. Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com>
1 parent 01e6922 commit c0f2b13

File tree

2 files changed

+679
-3
lines changed

2 files changed

+679
-3
lines changed

drivers/gpu/arm/utgard/Kbuild

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ mali-y += \
113113
linux/mali_pmu_power_up_down.o \
114114
__malidrv_build_info.o
115115

116-
ifneq ($(MALI_PLATFORM_FILES),)
117-
mali-y += $(MALI_PLATFORM_FILES:.c=.o)
118-
endif
116+
EXTRA_DEFINES += -DMALI_FAKE_PLATFORM_DEVICE=1
117+
mali-y += platform/hikey/mali_hikey.o
119118

120119
mali-$(CONFIG_MALI400_PROFILING) += linux/mali_ukk_profiling.o
121120
mali-$(CONFIG_MALI400_PROFILING) += linux/mali_osk_profiling.o

0 commit comments

Comments
 (0)