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
This commit is contained in:
Yogesh
2015-08-05 13:36:13 -07:00
committed by Terje Bergstrom
parent 08f37cba39
commit e44e67333b
2 changed files with 11 additions and 0 deletions

View File

@@ -863,4 +863,6 @@ void gk20a_pbus_isr(struct gk20a *g);
int gk20a_user_init(struct platform_device *dev);
void gk20a_user_deinit(struct platform_device *dev);
extern void gk20a_debug_dump_device(struct platform_device *pdev);
#endif /* GK20A_H */