diff options
author | diverj <diverj@google.com> | 2021-09-22 14:16:01 +0000 |
---|---|---|
committer | Jack Diver <diverj@google.com> | 2021-10-15 11:07:42 +0000 |
commit | 0b070c42f4de76913ab7f700d635590a3d3261e9 (patch) | |
tree | 72e49b1d99bdf3d63ca1bc14f2e646ea2e1cd3bc /mali_kbase/mali_kbase_defs.h | |
parent | 8780abac2d31c5fc96f243e7bea6f4110e005b61 (diff) | |
download | gpu-0b070c42f4de76913ab7f700d635590a3d3261e9.tar.gz |
mali_kbase: platform: Implement per UID time-in-state tracking for CSF
enabled GPUs
* Added optional callbacks for kbase_queue_group running and stopped events.
* The callbacks are executed within update_csg_slot_status where the driver
view of the csg slot is updated.
* An additional call to work_end is included directly in the interrupt
handler to reduce the timing inaccuracy.
* Modified the existing job manger atom start/end functions as well as
the dvfs_level_change, renamed them as work_start/end to be more generic,
and used ifdef's to tweak the implementations to use CSF stats and constants.
Bug: 198405284
Signed-off-by: diverj <diverj@google.com>
Change-Id: I506b4fb66955b111e705f9a57199864db110e6e0
Diffstat (limited to 'mali_kbase/mali_kbase_defs.h')
-rw-r--r-- | mali_kbase/mali_kbase_defs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mali_kbase/mali_kbase_defs.h b/mali_kbase/mali_kbase_defs.h index 164dded..64ee202 100644 --- a/mali_kbase/mali_kbase_defs.h +++ b/mali_kbase/mali_kbase_defs.h @@ -1887,9 +1887,7 @@ struct kbase_context { u64 limited_core_mask; -#if !MALI_USE_CSF void *platform_data; -#endif }; #ifdef CONFIG_MALI_CINSTR_GWT |