From 2a37d5d1af2efe5118ea5febfb52506baae80afa Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Thu, 8 May 2014 18:49:38 +0300 Subject: video: tegra: host: Export subdomain registration This far the subdomain registration has been allowed for drivers that use nvhost_acm framework. However, gk20a handles its own power domain bu it needs to register it as a subdomain of host1x. This patch exports necessary functionality in public header. Bug 200003112 Change-Id: Ie3457345c101329cadac4ef8aa71e448629a419b Signed-off-by: Arto Merilainen Reviewed-on: http://git-master/r/407542 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom --- include/linux/nvhost.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 99126f7478a6..0ec1592ab637 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -265,6 +265,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 */ +void nvhost_register_client_domain(struct generic_pm_domain *domain); + /* public host1x sync-point management APIs */ u32 nvhost_get_syncpt_client_managed(const char *syncpt_name); u32 nvhost_get_syncpt_host_managed(struct platform_device *pdev, -- cgit v1.2.3