From 3fabbfa17ba9793ec2b19dd9fe7cecb45842e806 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Wed, 5 Nov 2014 18:09:26 +0200 Subject: 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 Reviewed-on: http://git-master/r/601553 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- include/linux/nvhost.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/linux') 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); int nvhost_module_busy_ext(struct platform_device *dev); void nvhost_module_idle_ext(struct platform_device *dev); -/* public api to register a subdomain */ +/* public api to register/unregister a subdomain */ void nvhost_register_client_domain(struct generic_pm_domain *domain); +void nvhost_unregister_client_domain(struct generic_pm_domain *domain); /* public host1x sync-point management APIs */ u32 nvhost_get_syncpt_client_managed(const char *syncpt_name); -- cgit v1.2.2