This fixes sending frequencies at the start of
profiling on some devices.
Bug
1673104
Change-Id: Ice0768f2e16994301be72d6df8af52c0dad8d0f6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/780391
(cherry picked from commit
fa729cf14afa1acd82494db7fa8813c2d4660eaf)
Reviewed-on: http://git-master/r/783514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alexey Kravets <akravets@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
read_all_sources_work_func(struct work_struct *work)
{
int cpu_id;
+ struct power_clk_source *s = &power_ctx.cpu;
for_each_possible_cpu(cpu_id)
- read_source(&power_ctx.cpu, cpu_id);
+ read_source(s, cpu_id);
read_source(&power_ctx.gpu, -1);
read_source(&power_ctx.emc, -1);
check_clks();
+ check_source(s);
}
static DECLARE_WORK(read_all_sources_work, read_all_sources_work_func);
#ifndef __QUADD_VERSION_H
#define __QUADD_VERSION_H
-#define QUADD_MODULE_VERSION "1.103"
+#define QUADD_MODULE_VERSION "1.104"
#define QUADD_MODULE_BRANCH "Dev"
#endif /* __QUADD_VERSION_H */