diff options
Diffstat (limited to 'mali_kbase/backend/gpu/mali_kbase_pm_ca.h')
-rw-r--r-- | mali_kbase/backend/gpu/mali_kbase_pm_ca.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/mali_kbase/backend/gpu/mali_kbase_pm_ca.h b/mali_kbase/backend/gpu/mali_kbase_pm_ca.h index 90dcaf5..37d1020 100644 --- a/mali_kbase/backend/gpu/mali_kbase_pm_ca.h +++ b/mali_kbase/backend/gpu/mali_kbase_pm_ca.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * - * (C) COPYRIGHT 2011-2018, 2020-2021 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2011-2023 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 @@ -58,6 +58,17 @@ void kbase_pm_ca_term(struct kbase_device *kbdev); u64 kbase_pm_ca_get_core_mask(struct kbase_device *kbdev); /** + * kbase_pm_ca_get_debug_core_mask - Get debug core mask. + * + * @kbdev: The kbase device structure for the device (must be a valid pointer) + * + * Returns a mask of the currently selected shader cores. + * + * Return: The bit mask of user-selected cores + */ +u64 kbase_pm_ca_get_debug_core_mask(struct kbase_device *kbdev); + +/** * kbase_pm_ca_update_core_status - Update core status * * @kbdev: The kbase device structure for the device (must be @@ -71,7 +82,7 @@ u64 kbase_pm_ca_get_core_mask(struct kbase_device *kbdev); * Calls into the core availability policy */ void kbase_pm_ca_update_core_status(struct kbase_device *kbdev, u64 cores_ready, - u64 cores_transitioning); + u64 cores_transitioning); /** * kbase_pm_ca_get_instr_core_mask - Get the PM state sync-ed shaders core mask |