diff options
| author | Konsta Holtta <kholtta@nvidia.com> | 2014-11-05 11:09:26 -0500 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:19 -0400 |
| commit | 3fabbfa17ba9793ec2b19dd9fe7cecb45842e806 (patch) | |
| tree | 2cb2d5802af9652e61a099b27563e7c29b01d849 /include/linux | |
| parent | f29fa4d6b33f4a8169af6774e929dc379d9f5a48 (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.h | 3 |
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); | |||
| 319 | int nvhost_module_busy_ext(struct platform_device *dev); | 319 | int nvhost_module_busy_ext(struct platform_device *dev); |
| 320 | void nvhost_module_idle_ext(struct platform_device *dev); | 320 | void 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 */ |
| 323 | void nvhost_register_client_domain(struct generic_pm_domain *domain); | 323 | void nvhost_register_client_domain(struct generic_pm_domain *domain); |
| 324 | void 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 */ |
| 326 | u32 nvhost_get_syncpt_client_managed(const char *syncpt_name); | 327 | u32 nvhost_get_syncpt_client_managed(const char *syncpt_name); |
