summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorYogesh <ybhosale@nvidia.com>2015-08-05 16:36:13 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-08-19 16:15:23 -0400
commite44e67333bb835c54a2a66835a13498d4080893f (patch)
treea64a9d362c8e6f48865a02f66738e92d6afc20cb /drivers/gpu/nvgpu/gk20a/gk20a.h
parent08f37cba39d846bc635098c4adae0c4a5629161a (diff)
gpu: nvgpu: Inject function address from nvgpu
This patch inserts the function address of gk20a_debug_dump_device into host data struct once the nvgpu module loads and removes it during unload. Bug 1476801 Change-Id: If49262208325b2aa0807705c26086e6d7c81632c Signed-off-by: Yogesh Bhosale <ybhosale@nvidia.com> Reviewed-on: http://git-master/r/779397 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 5caef6fe..79240800 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -863,4 +863,6 @@ void gk20a_pbus_isr(struct gk20a *g);
863int gk20a_user_init(struct platform_device *dev); 863int gk20a_user_init(struct platform_device *dev);
864void gk20a_user_deinit(struct platform_device *dev); 864void gk20a_user_deinit(struct platform_device *dev);
865 865
866extern void gk20a_debug_dump_device(struct platform_device *pdev);
867
866#endif /* GK20A_H */ 868#endif /* GK20A_H */