diff options
author | Jack Diver <diverj@google.com> | 2022-06-20 18:05:31 +0000 |
---|---|---|
committer | Jack Diver <diverj@google.com> | 2022-06-21 16:25:21 +0000 |
commit | 8efd2c02ecae6e9ea852dee431e4296784203e79 (patch) | |
tree | b59996de13764974cb60890d92ca3fa53e7fdef4 /mali_kbase/mali_kbase_config.h | |
parent | 4c5987de95996a253e1ebbcc2b737b5035a9e802 (diff) | |
download | gpu-8efd2c02ecae6e9ea852dee431e4296784203e79.tar.gz |
mali_kbase:platform: Add FW config platform hook
Add a platform hook for configuring CSF FW
Move IFPO config enable to the platform hook
Bug: 156051622
Test: Boot to home, verify IFPO powering off rail
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: Ifaaa11deae1e12b681b1acab3d03dc508407d8a5
Diffstat (limited to 'mali_kbase/mali_kbase_config.h')
-rw-r--r-- | mali_kbase/mali_kbase_config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mali_kbase/mali_kbase_config.h b/mali_kbase/mali_kbase_config.h index c4cbf3a..ddd0ce9 100644 --- a/mali_kbase/mali_kbase_config.h +++ b/mali_kbase/mali_kbase_config.h @@ -158,6 +158,16 @@ struct kbase_platform_funcs_conf { */ void (*platform_handler_work_end_func)(void* param); /** + * platform_fw_cfg_init_func - Platform specific callback for FW configuration + * + * @kbdev: kbase_device pointer + * + * Function pointer for platform specific FW configuration + * + * Context: Process context + */ + int (*platform_fw_cfg_init_func)(struct kbase_device *kbdev); + /** * platform_handler_core_dump_func - Platform specific handler for triggering a core dump. * * @kbdev: kbase_device pointer @@ -601,6 +611,16 @@ void kbasep_platform_event_work_begin(void *param); void kbasep_platform_event_work_end(void *param); /** + * kbasep_platform_fw_config_init - Platform specific callback to configure FW + * + * @kbdev - kbase_device pointer + * + * Function calls a platform defined routine if specified in the configuration attributes. + * + */ +int kbasep_platform_fw_config_init(struct kbase_device *kbdev); + +/** * kbasep_platform_event_core_dump - Platform specific callback to act on a firmware error. * * @kbdev - kbase_device pointer |