diff options
author | Sidath Senanayake <sidaths@google.com> | 2021-01-29 14:51:21 +0000 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2021-01-29 14:51:21 +0000 |
commit | 201c8bfb4637601363b6e9283f3bdc510711a226 (patch) | |
tree | afa8b543c81e78e5b82156be5d5266060c71e069 /mali_kbase/mali_kbase_hwaccess_pm.h | |
parent | 72f2457ff7355ff0389efe5bc9cec3365362d8c4 (diff) | |
download | gpu-201c8bfb4637601363b6e9283f3bdc510711a226.tar.gz |
Mali Valhall DDK r28p0 KMD
Provenance:
f61f43e2c (collaborate/EAC/v_r28p0)
VX504X08X-BU-00000-r28p0-01eac0 - Android DDK
VX504X08X-SW-99006-r28p0-01eac0 - Android Renderscript AOSP parts
VX504X08X-BU-60000-r28p0-01eac0 - Android Document Bundle
VX504X08X-DC-11001-r28p0-01eac0 - Valhall Android DDK Software Errata
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Iafabf59869cc06a23d69668f6ae1a152cb86b7f3
Diffstat (limited to 'mali_kbase/mali_kbase_hwaccess_pm.h')
-rw-r--r-- | mali_kbase/mali_kbase_hwaccess_pm.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/mali_kbase/mali_kbase_hwaccess_pm.h b/mali_kbase/mali_kbase_hwaccess_pm.h index bbaf6ea..3e223c6 100644 --- a/mali_kbase/mali_kbase_hwaccess_pm.h +++ b/mali_kbase/mali_kbase_hwaccess_pm.h @@ -1,6 +1,6 @@ /* * - * (C) COPYRIGHT 2014-2015, 2018-2019 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2014-2015, 2018-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 @@ -20,7 +20,6 @@ * */ - /** * @file mali_kbase_hwaccess_pm.h * HW access power manager common APIs @@ -119,7 +118,19 @@ void kbase_hwaccess_pm_gpu_active(struct kbase_device *kbdev); */ void kbase_hwaccess_pm_gpu_idle(struct kbase_device *kbdev); - +#if MALI_USE_CSF +/** + * Set the debug core mask. + * + * This determines which cores the power manager is allowed to use. + * + * @param kbdev The kbase device structure for the device (must be a + * valid pointer) + * @param new_core_mask The core mask to use + */ +void kbase_pm_set_debug_core_mask(struct kbase_device *kbdev, + u64 new_core_mask); +#else /** * Set the debug core mask. * @@ -134,7 +145,7 @@ void kbase_hwaccess_pm_gpu_idle(struct kbase_device *kbdev); void kbase_pm_set_debug_core_mask(struct kbase_device *kbdev, u64 new_core_mask_js0, u64 new_core_mask_js1, u64 new_core_mask_js2); - +#endif /* MALI_USE_CSF */ /** * Get the current policy. |