summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2014-11-05 11:09:26 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:19 -0400
commit3fabbfa17ba9793ec2b19dd9fe7cecb45842e806 (patch)
tree2cb2d5802af9652e61a099b27563e7c29b01d849 /include/linux
parentf29fa4d6b33f4a8169af6774e929dc379d9f5a48 (diff)
video: tegra: host: support genpd subdomain remove
Add nvhost_unregister_client_domain() for removing a subdomain from host1x genpd, i.e. undoing nvhost_register_client_domain(). Bug 1476801 Change-Id: Ib79b5a6a60bbc668d1bad1be3c45b30c60149d05 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/601553 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvhost.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 9243b546a..a15d6f4ab 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -319,8 +319,9 @@ bool nvhost_module_powered_ext(struct platform_device *dev);
319int nvhost_module_busy_ext(struct platform_device *dev); 319int nvhost_module_busy_ext(struct platform_device *dev);
320void nvhost_module_idle_ext(struct platform_device *dev); 320void nvhost_module_idle_ext(struct platform_device *dev);
321 321
322/* public api to register a subdomain */ 322/* public api to register/unregister a subdomain */
323void nvhost_register_client_domain(struct generic_pm_domain *domain); 323void nvhost_register_client_domain(struct generic_pm_domain *domain);
324void nvhost_unregister_client_domain(struct generic_pm_domain *domain);
324 325
325/* public host1x sync-point management APIs */ 326/* public host1x sync-point management APIs */
326u32 nvhost_get_syncpt_client_managed(const char *syncpt_name); 327u32 nvhost_get_syncpt_client_managed(const char *syncpt_name);