diff options
author | Sidath Senanayake <sidaths@google.com> | 2020-04-14 14:55:25 +0200 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2020-04-14 14:55:25 +0200 |
commit | b64f568f943e567534694cc993270adca96dcd06 (patch) | |
tree | ff175812d02016e7e630217ecf8de53d6ac2d6a2 /mali_kbase/mali_kbase_cs_experimental.h | |
parent | b2b1764ee0fe59773c1c8f621ad2955c35cd9d92 (diff) | |
download | gpu-b64f568f943e567534694cc993270adca96dcd06.tar.gz |
Mali Valhall DDK r24p0 KMD
Provenance:
c5a37f014 (collaborate/EAC/v_r24p0)
VX504X08X-BU-00000-r24p0-01rel0 - Android DDK
VX504X08X-BU-60000-r24p0-01rel0 - Android Document Bundle
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I1536474b6a18731cd377251c6dc947811ba0c787
Diffstat (limited to 'mali_kbase/mali_kbase_cs_experimental.h')
-rw-r--r-- | mali_kbase/mali_kbase_cs_experimental.h | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/mali_kbase/mali_kbase_cs_experimental.h b/mali_kbase/mali_kbase_cs_experimental.h index b68a105..e1fffc3 100644 --- a/mali_kbase/mali_kbase_cs_experimental.h +++ b/mali_kbase/mali_kbase_cs_experimental.h @@ -21,7 +21,7 @@ *//* SPDX-License-Identifier: GPL-2.0 */ /* - * (C) COPYRIGHT 2019 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2019-2020 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -35,36 +35,18 @@ #include <linux/kernel.h> -#if MALI_CS_EXPERIMENTAL - -/** - * mali_kbase_has_cs_experimental() - Has the driver been built with - * CS_EXPERIMENTAL=y - * - * It is preferable to guard cs_experimental code with this rather than #ifdef - * all through the code. - * - * Return: true if built with CS_EXPERIMENTAL false otherwise - */ -static inline bool mali_kbase_has_cs_experimental(void) -{ - return true; -} -#else -static inline bool mali_kbase_has_cs_experimental(void) -{ - return false; -} -#endif - /** - * mali_kbase_print_cs_experimental() - Print a string if built with - * CS_EXPERIMENTAL=y + * mali_kbase_print_cs_experimental() - Print a string for every Core Services + * experimental feature that is enabled */ static inline void mali_kbase_print_cs_experimental(void) { - if (mali_kbase_has_cs_experimental()) - pr_info("mali_kbase: EXPERIMENTAL (MALI_CS_EXPERIMENTAL) flag enabled"); +#if MALI_JIT_PRESSURE_LIMIT + pr_info("mali_kbase: JIT_PRESSURE_LIMIT (experimental) enabled"); +#endif /* MALI_JIT_PRESSURE_LIMIT */ +#if MALI_INCREMENTAL_RENDERING + pr_info("mali_kbase: INCREMENTAL_RENDERING (experimental) enabled"); +#endif /* MALI_INCREMENTAL_RENDERING */ } #endif /* _KBASE_CS_EXPERIMENTAL_H_ */ |