summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powergate-priv.h
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2013-03-13 22:25:37 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:03:01 -0700
commit1b98d785aa3380e27d765fe54ea6dff9691e0e29 (patch)
tree7750c9c31e1f5dc8ed6fe79a65997a479659e6cc /arch/arm/mach-tegra/powergate-priv.h
parent7c5e9b1739a220685ba9ebcfecd81865f3b0a31a (diff)
video: tegra: dc: fix the logic for dis ref-count.
Use simple logic to meet the requirement of use cases. All logic is implemented in powergate module. Dependency of dis partitions are transparent to client. Change-Id: I6649dc8bf704fcb763dd5b038f947ed0da2c84c4 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/200652 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/powergate-priv.h')
-rw-r--r--arch/arm/mach-tegra/powergate-priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate-priv.h b/arch/arm/mach-tegra/powergate-priv.h
index be45b8756a04..dd58ec7315f4 100644
--- a/arch/arm/mach-tegra/powergate-priv.h
+++ b/arch/arm/mach-tegra/powergate-priv.h
@@ -100,6 +100,8 @@ struct powergate_ops {
int (*powergate_mc_flush)(int id);
int (*powergate_mc_flush_done)(int id);
+
+ int (*powergate_init_refcount)(void);
};
void get_clk_info(struct powergate_partition_info *pg_info);