Kernel module for testing chai (fork of the mali_ko shim)

Alyssa Rosenzweig 8b3a27eaaf Remove impossible configuration options 7 years ago
backend 25cfd5477e Conform to kernel standards (1/2) 7 years ago
platform 25cfd5477e Conform to kernel standards (1/2) 7 years ago
platform_dummy 55f63c83df cat --squeeze-blank 7 years ago
.gitignore f5bb5041e7 Move out chai code 7 years ago
Kbuild 8b3a27eaaf Remove impossible configuration options 7 years ago
Kconfig 8b3a27eaaf Remove impossible configuration options 7 years ago
Makefile 06763bd869 Check in Mali kernel shim 7 years ago
Makefile.kbase 06763bd869 Check in Mali kernel shim 7 years ago
README.md 9b6c7b22ac Fixes for stock 4.14 7 years ago
config.h 9b6c7b22ac Fixes for stock 4.14 7 years ago
mali_base_hwconfig_features.h 55f63c83df cat --squeeze-blank 7 years ago
mali_base_hwconfig_issues.h 55f63c83df cat --squeeze-blank 7 years ago
mali_base_kernel.h 9c4867a7c6 Additional gator tearup 7 years ago
mali_base_kernel_sync.h 55f63c83df cat --squeeze-blank 7 years ago
mali_base_mem_priv.h 55f63c83df cat --squeeze-blank 7 years ago
mali_base_vendor_specific_func.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase.h 8dbe123e41 Inline strings file 7 years ago
mali_kbase_10969_workaround.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_10969_workaround.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_cache_policy.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_cache_policy.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_config.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_config.h d161c73100 Remove platform_fake code 7 years ago
mali_kbase_config_defaults.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_context.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_core_linux.c 9b6c7b22ac Fixes for stock 4.14 7 years ago
mali_kbase_debug.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_debug.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_defs.h 468e5d4e73 Fix build from previous macro run 7 years ago
mali_kbase_device.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_disjoint_events.c bf815a63cf Remove test api export 7 years ago
mali_kbase_dma_fence.c 8dbe123e41 Inline strings file 7 years ago
mali_kbase_dma_fence.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_event.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_gpu_id.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_gpuprops.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_gpuprops.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_gpuprops_types.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hw.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hw.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_backend.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_defs.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_gpuprops.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_instr.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_jm.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_pm.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwaccess_time.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_hwcnt_reader.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_instr.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_instr.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_ipa.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_ipa.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_ipa_tables.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_jd.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_jm.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_jm.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_js.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_js.h 8ba601179e Conform to kernel standards (2/2) 7 years ago
mali_kbase_js_ctx_attr.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_js_ctx_attr.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_js_defs.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_js_policy.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_js_policy_cfs.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_js_policy_cfs.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_linux.h d6b567d229 Cut down Kbuild 7 years ago
mali_kbase_mem.c 9b6c7b22ac Fixes for stock 4.14 7 years ago
mali_kbase_mem.h 8ba601179e Conform to kernel standards (2/2) 7 years ago
mali_kbase_mem_linux.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_mem_linux.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_mem_lowlevel.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_mem_pool.c 468e5d4e73 Fix build from previous macro run 7 years ago
mali_kbase_mmu.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_mmu_hw.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_mmu_mode.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_mmu_mode_lpae.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_pm.c bf815a63cf Remove test api export 7 years ago
mali_kbase_pm.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_replay.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_smc.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_smc.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_softjobs.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_sync.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_sync.h 59a2a7cc7d Drop <3.x kernel version 7 years ago
mali_kbase_sync_user.c 939a718d14 Continue dropping old kernels 7 years ago
mali_kbase_tlstream.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_tlstream.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_trace_defs.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_trace_timeline.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_trace_timeline.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_trace_timeline_defs.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_uku.h f94bb8db7e Remove additional NO_MALI 7 years ago
mali_kbase_utility.c 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_utility.h 55f63c83df cat --squeeze-blank 7 years ago
mali_kbase_vinstr.c 25cfd5477e Conform to kernel standards (1/2) 7 years ago
mali_kbase_vinstr.h 55f63c83df cat --squeeze-blank 7 years ago
mali_linux_kbase_trace.h 55f63c83df cat --squeeze-blank 7 years ago
mali_linux_trace.h 55f63c83df cat --squeeze-blank 7 years ago
mali_malisw.h 59a2a7cc7d Drop <3.x kernel version 7 years ago
mali_midg_coherency.h 55f63c83df cat --squeeze-blank 7 years ago
mali_midg_regmap.h 55f63c83df cat --squeeze-blank 7 years ago
mali_timeline.h 55f63c83df cat --squeeze-blank 7 years ago
mali_uk.h f40260c300 Remove extern c 7 years ago

README.md

Oolong

Kernel module for testing forked from the Mali kernel module for the chai project. Mainline kernel support uses patches by Pierre-Hugues Husson from rockchip-forwardports.

Usage (Rockchip)

Clone oolong and Linux into the same folder.

Compile module:

cd oolong && ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make M=$PWD -C ../linux CONFIG_MALI_MIDGARD=m CONFIG_MALI_DMA_FENCE=y CONFIG_MALI_EXPERT=y CONFIG_MALI_PLATFORM_THIRDPARTY=y CONFIG_MALI_PLATFORM_THIRDPARTY_NAME=rk && cd ..

This command generates mali_kbase.ko. Load it:

insmod oolong/mali_kbase.ko