msm: adsprpc: Latency vote for lowest capacity cores
Currently, QoS core count is probed from dtsi property. Instead, update it at run-time by counting number of lowest capacity cores. Probe DT to check if latency voting for only a single-core is enabled, update count then. Change-Id: I8eaddc382a4929d28a60db8d351eb8ca9793e82e Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
This commit is contained in:

zatwierdzone przez
Gerrit - the friendly Code Review server

rodzic
9fd8a867bf
commit
9151ca9fdd
@@ -745,11 +745,6 @@ struct gid_list {
|
||||
unsigned int gidcount;
|
||||
};
|
||||
|
||||
struct qos_cores {
|
||||
int *coreno;
|
||||
int corecount;
|
||||
};
|
||||
|
||||
struct fastrpc_buf {
|
||||
struct hlist_node hn;
|
||||
struct hlist_node hn_rem;
|
||||
@@ -992,7 +987,6 @@ struct fastrpc_apps {
|
||||
/* Non-secure subsystem like CDSP will use regular client */
|
||||
struct wakeup_source *wake_source;
|
||||
uint32_t duplicate_rsp_err_cnt;
|
||||
struct qos_cores silvercores;
|
||||
uint32_t max_size_limit;
|
||||
struct hlist_head frpc_devices;
|
||||
struct hlist_head frpc_drivers;
|
||||
@@ -1003,6 +997,10 @@ struct fastrpc_apps {
|
||||
int share_securecb;
|
||||
/* Indicates process type is configured for SMMU context bank */
|
||||
bool cb_pd_type;
|
||||
/* Number of lowest capacity cores for given platform */
|
||||
unsigned int lowest_capacity_core_count;
|
||||
/* Flag to check if PM QoS vote needs to be done for only one core */
|
||||
bool single_core_latency_vote;
|
||||
};
|
||||
|
||||
struct fastrpc_mmap {
|
||||
|
Reference in New Issue
Block a user