| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2017-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2017-2023 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 28 | 28 | defaults: [ |
|---|
| 29 | 29 | "kernel_defaults", |
|---|
| 30 | 30 | ], |
|---|
| 31 | | - no_mali: { |
|---|
| 31 | + mali_no_mali: { |
|---|
| 32 | 32 | kbuild_options: [ |
|---|
| 33 | 33 | "CONFIG_MALI_BIFROST_NO_MALI=y", |
|---|
| 34 | 34 | "CONFIG_MALI_NO_MALI_DEFAULT_GPU={{.gpu}}", |
|---|
| 35 | + "CONFIG_GPU_HWVER={{.hwver}}", |
|---|
| 35 | 36 | ], |
|---|
| 37 | + }, |
|---|
| 38 | + mali_platform_dt_pin_rst: { |
|---|
| 39 | + kbuild_options: ["CONFIG_MALI_PLATFORM_DT_PIN_RST=y"], |
|---|
| 36 | 40 | }, |
|---|
| 37 | 41 | gpu_has_csf: { |
|---|
| 38 | 42 | kbuild_options: ["CONFIG_MALI_CSF_SUPPORT=y"], |
|---|
| .. | .. |
|---|
| 49 | 53 | mali_midgard_enable_trace: { |
|---|
| 50 | 54 | kbuild_options: ["CONFIG_MALI_BIFROST_ENABLE_TRACE=y"], |
|---|
| 51 | 55 | }, |
|---|
| 52 | | - mali_dma_fence: { |
|---|
| 53 | | - kbuild_options: ["CONFIG_MALI_BIFROST_DMA_FENCE=y"], |
|---|
| 54 | | - }, |
|---|
| 55 | 56 | mali_arbiter_support: { |
|---|
| 56 | 57 | kbuild_options: ["CONFIG_MALI_ARBITER_SUPPORT=y"], |
|---|
| 57 | 58 | }, |
|---|
| .. | .. |
|---|
| 61 | 62 | mali_dma_buf_legacy_compat: { |
|---|
| 62 | 63 | kbuild_options: ["CONFIG_MALI_DMA_BUF_LEGACY_COMPAT=y"], |
|---|
| 63 | 64 | }, |
|---|
| 64 | | - mali_2mb_alloc: { |
|---|
| 65 | | - kbuild_options: ["CONFIG_MALI_2MB_ALLOC=y"], |
|---|
| 65 | + large_page_alloc_override: { |
|---|
| 66 | + kbuild_options: ["CONFIG_LARGE_PAGE_ALLOC_OVERRIDE=y"], |
|---|
| 67 | + }, |
|---|
| 68 | + large_page_alloc: { |
|---|
| 69 | + kbuild_options: ["CONFIG_LARGE_PAGE_ALLOC=y"], |
|---|
| 66 | 70 | }, |
|---|
| 67 | 71 | mali_memory_fully_backed: { |
|---|
| 68 | 72 | kbuild_options: ["CONFIG_MALI_MEMORY_FULLY_BACKED=y"], |
|---|
| .. | .. |
|---|
| 84 | 88 | }, |
|---|
| 85 | 89 | mali_error_inject: { |
|---|
| 86 | 90 | kbuild_options: ["CONFIG_MALI_BIFROST_ERROR_INJECT=y"], |
|---|
| 87 | | - }, |
|---|
| 88 | | - mali_gem5_build: { |
|---|
| 89 | | - kbuild_options: ["CONFIG_MALI_GEM5_BUILD=y"], |
|---|
| 90 | 91 | }, |
|---|
| 91 | 92 | mali_debug: { |
|---|
| 92 | 93 | kbuild_options: [ |
|---|
| .. | .. |
|---|
| 133 | 134 | mali_hw_errata_1485982_use_clock_alternative: { |
|---|
| 134 | 135 | kbuild_options: ["CONFIG_MALI_HW_ERRATA_1485982_USE_CLOCK_ALTERNATIVE=y"], |
|---|
| 135 | 136 | }, |
|---|
| 137 | + platform_is_fpga: { |
|---|
| 138 | + kbuild_options: ["CONFIG_MALI_IS_FPGA=y"], |
|---|
| 139 | + }, |
|---|
| 140 | + mali_coresight: { |
|---|
| 141 | + kbuild_options: ["CONFIG_MALI_CORESIGHT=y"], |
|---|
| 142 | + }, |
|---|
| 136 | 143 | kbuild_options: [ |
|---|
| 137 | 144 | "CONFIG_MALI_PLATFORM_NAME={{.mali_platform_name}}", |
|---|
| 138 | 145 | "MALI_CUSTOMER_RELEASE={{.release}}", |
|---|
| .. | .. |
|---|
| 153 | 160 | // is an umbrella feature that would be open for inappropriate use |
|---|
| 154 | 161 | // (catch-all for experimental CS code without separating it into |
|---|
| 155 | 162 | // different features). |
|---|
| 156 | | - "MALI_INCREMENTAL_RENDERING={{.incremental_rendering}}", |
|---|
| 157 | | - "GPU_TIMESTAMP_CORRECTION={{.gpu_timestamp_correction}}", |
|---|
| 163 | + "MALI_INCREMENTAL_RENDERING_JM={{.incremental_rendering_jm}}", |
|---|
| 164 | + "MALI_BASE_CSF_PERFORMANCE_TESTS={{.base_csf_performance_tests}}", |
|---|
| 158 | 165 | ], |
|---|
| 159 | 166 | } |
|---|
| 160 | 167 | |
|---|
| .. | .. |
|---|
| 173 | 180 | "context/*.c", |
|---|
| 174 | 181 | "context/*.h", |
|---|
| 175 | 182 | "context/Kbuild", |
|---|
| 183 | + "hwcnt/*.c", |
|---|
| 184 | + "hwcnt/*.h", |
|---|
| 185 | + "hwcnt/backend/*.h", |
|---|
| 186 | + "hwcnt/Kbuild", |
|---|
| 176 | 187 | "ipa/*.c", |
|---|
| 177 | 188 | "ipa/*.h", |
|---|
| 178 | 189 | "ipa/Kbuild", |
|---|
| .. | .. |
|---|
| 180 | 191 | "platform/*/*.c", |
|---|
| 181 | 192 | "platform/*/*.h", |
|---|
| 182 | 193 | "platform/*/Kbuild", |
|---|
| 194 | + "platform/*/*/*.c", |
|---|
| 195 | + "platform/*/*/*.h", |
|---|
| 196 | + "platform/*/*/Kbuild", |
|---|
| 197 | + "platform/*/*/*.c", |
|---|
| 198 | + "platform/*/*/*.h", |
|---|
| 199 | + "platform/*/*/Kbuild", |
|---|
| 200 | + "platform/*/*/*/*.c", |
|---|
| 201 | + "platform/*/*/*/*.h", |
|---|
| 202 | + "platform/*/*/*/Kbuild", |
|---|
| 183 | 203 | "thirdparty/*.c", |
|---|
| 184 | 204 | "thirdparty/Kbuild", |
|---|
| 185 | 205 | "debug/*.c", |
|---|
| .. | .. |
|---|
| 206 | 226 | "device/backend/*_jm.c", |
|---|
| 207 | 227 | "gpu/backend/*_jm.c", |
|---|
| 208 | 228 | "gpu/backend/*_jm.h", |
|---|
| 229 | + "hwcnt/backend/*_jm.c", |
|---|
| 230 | + "hwcnt/backend/*_jm.h", |
|---|
| 231 | + "hwcnt/backend/*_jm_*.c", |
|---|
| 232 | + "hwcnt/backend/*_jm_*.h", |
|---|
| 209 | 233 | "jm/*.h", |
|---|
| 210 | 234 | "tl/backend/*_jm.c", |
|---|
| 211 | 235 | "mmu/backend/*_jm.c", |
|---|
| .. | .. |
|---|
| 227 | 251 | "device/backend/*_csf.c", |
|---|
| 228 | 252 | "gpu/backend/*_csf.c", |
|---|
| 229 | 253 | "gpu/backend/*_csf.h", |
|---|
| 254 | + "hwcnt/backend/*_csf.c", |
|---|
| 255 | + "hwcnt/backend/*_csf.h", |
|---|
| 256 | + "hwcnt/backend/*_csf_*.c", |
|---|
| 257 | + "hwcnt/backend/*_csf_*.h", |
|---|
| 230 | 258 | "tl/backend/*_csf.c", |
|---|
| 231 | 259 | "mmu/backend/*_csf.c", |
|---|
| 232 | 260 | "ipa/backend/*_csf.c", |
|---|