summaryrefslogtreecommitdiff
path: root/gxp-internal.h
diff options
context:
space:
mode:
authorAurora pro automerger <aurora-pro-automerger@google.com>2023-03-14 02:07:34 +0000
committerCopybara-Service <copybara-worker@google.com>2023-03-28 22:19:52 -0700
commitec2e64f0bb54d942059d75ccc7c4ab6daa775f78 (patch)
treece23e15e88a8c51e74a637916f0404087ac5459b /gxp-internal.h
parent0ffef44f5b07977a5608985c66e7eeaadc29b426 (diff)
downloadgs201-android-gs-lynx-5.10-u-beta4.tar.gz
gxp: fix compiler warning in gxp-thermal gxp: move fw_rw_section into if-guard gxp: fix memory leak with invalid telemetry type Bug: 273254318 gxp: remove unneeded checks in vd.c gxp: skip configuring when missing VD config gxp: remove unused host-dev structs Bug: 265748027 gxp: remove unused range-alloc module gxp: entirely remove app_metadata Bug: 265748027 (repeat) gxp: remove legacy firmware data init Bug: 265748027 (repeat) gxp: remove legacy telemetry descriptor Bug: 265748027 (repeat) gxp: move system cfg population to device probe Bug: 265748027 (repeat) gxp: add gxp_fw_data_system_cfg Bug: 265748027 (repeat) gxp: add gxp_fw_data_resource Bug: 265748027 (repeat) gxp: bump version 1.11 Bugs: gxp: fix panic on buffer flushing Bug: 268389591 gxp: Do not put core in reset if already in ACG Bug: 272664140 gxp: add cached core telemetry desc Bug: 265748027 (repeat) gxp: Adpot GCIP thermal Bug: 264729080 Bug: 213272324 gxp: remove core_boot parameter Bug: 251612313 gxp: use GPL-2.0-only license Bug: 271797962 gxp: authenticates firmware through GSA Bug: 260533620 gxp: Enable debug dump for imageconfig 2. Bug: 271371895 gxp: Add size check while loading image to memory Bug: 265105909 gxp: refactor MCU firmware life cycle Bug: 233159020 gxp: Create a function for gxp_core_boot Bug: 271716712 gxp: Increase UCI command timeout to 2 seconds Bug: 271622596 gxp: remove checks of data_mgr gxp: skip mapping core resources in MCU mode gxp: add gxp_firmware_loader module gxp: log a warning on failing to map CMU reg gxp: disable out-dated auth mechanism in MCU mode Bug: 260533620 (repeat) gxp: refactor core firmware loading gxp: stop mapping core->TPU queues gxp: get core_count by counting bits Bug: 270097855 gxp: set SSMT to bypass in both mode Bug: 269855604 gxp: Skip gxp_vd_block_unready if gxp_vd_block_ready was not executed Bug: 268427254 gcip: Make gcip_pm_{get_count,is_powered} lockless Bug: 271756295 gcip: generalize mem_pool gcip: utilize mock files on unittests Bug: 272216562 gcip: use GPL-2.0-only license Bug: 271797962 (repeat) gcip: Remove gcip_pm_put_async Bug: 271756295 (repeat) gcip: Only call .power_up if needed gcip: Print GCIP_FW_LOG_LEVEL_FATAL as error message Bug: 271596603 gcip: Postfix gcip_firmware_tracing_restore gcip: fix undefined variable on !THERMAL gcip: always return NULL on domain alloc error gcip: Add gcip_thermal_destroy Bug; 264729080 (repeat) gcip: Add thermal votes Bug: 271194361 Bug: 264729080 (repeat) gcip: Cleanup abandoned domains on domain-pool destroy gcip: Prefix MAX_NUM_THERMAL_STATES Bug: 264729080 (repeat) gcip: Add const to thermal_cooling_device_ops Bug: 264729080 (repeat) gcip: Add thermal support Bug: 264729080 (repeat) gcip: remove redundant else in pm.c GCIP_MAIN_REV_ID: a5b6843ab58f30d6ce086016214cbf56a46610a8 gcip: Add gcip_pm_lock Bug: 264729080 (repeat) gcip: Make gcip_pm_{get_count,is_powered} lockless Bug: 271756295 (repeat) gcip: generalize mem_pool gcip: use GPL-2.0-only license Bug: 271797962 (repeat) gcip: Remove gcip_pm_put_async Bug: 271756295 (repeat) gcip: Add gcip_pm_trylock Bug: 271756295 (repeat) gcip: Add level -3 (FATAL) for firmware log Bug: 271596603 (repeat) gcip: Update outdated comments gcip: Postfix gcip_firmware_tracing_restore gcip: Add gcip_thermal_destroy Bug: 264729080 (repeat) gcip: Add thermal votes Bug: 271194361 (repeat) Bug: 264729080 (repeat) gcip: Add missing includes to gcip-domain-pool.h gcip: Add list of dynamic domains to domain-pool gcip: Prefix MAX_NUM_THERMAL_STATES Bug: 264729080 (repeat) gcip: add watchdog timeout crash type Bug:255416846 gcip: Add thermal header Bug: 264729080 (repeat) GCIP_HEADERS_REV_ID: 126a2bd1e5ac72231c88425fbddb4b9fe2fd85b1 GitOrigin-RevId: 03d9970af576cb6267f25715de67d4ffd3e2934c Change-Id: Ia0e7a0d8113d209e0bb57e160bc3f2d89b1d4c5e
Diffstat (limited to 'gxp-internal.h')
-rw-r--r--gxp-internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gxp-internal.h b/gxp-internal.h
index cc6cffe..e00401b 100644
--- a/gxp-internal.h
+++ b/gxp-internal.h
@@ -23,6 +23,8 @@
#include <linux/rwsem.h>
#include <linux/spinlock.h>
+#include <gcip/gcip-thermal.h>
+
#include "gxp-config.h"
#define IS_GXP_TEST IS_ENABLED(CONFIG_GXP_TEST)
@@ -83,6 +85,7 @@ struct gxp_dev {
struct gxp_mailbox_manager *mailbox_mgr;
struct gxp_power_manager *power_mgr;
struct gxp_debug_dump_manager *debug_dump_mgr;
+ struct gxp_firmware_loader_manager *fw_loader_mgr;
struct gxp_firmware_manager *firmware_mgr;
/*
* Lock to ensure only one thread at a time is ever calling
@@ -104,12 +107,12 @@ struct gxp_dev {
struct gxp_client *debugfs_client;
struct mutex debugfs_client_lock;
bool debugfs_wakelock_held;
- struct gxp_thermal_manager *thermal_mgr;
struct gxp_dma_manager *dma_mgr;
struct gxp_fw_data_manager *data_mgr;
struct gxp_tpu_dev tpu_dev;
struct gxp_core_telemetry_manager *core_telemetry_mgr;
struct gxp_iommu_domain *default_domain;
+ struct gcip_thermal *thermal;
/*
* Pointer to GSA device for firmware authentication.
* May be NULL if the chip does not support firmware authentication