diff options
author | Yogesh <ybhosale@nvidia.com> | 2015-08-17 19:41:02 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-08-21 18:14:44 -0400 |
commit | 05a6b54914fcd7f21ca30c32dbb851e6eecfc64c (patch) | |
tree | c1edd149e730897e5fa84dc6b84efbee49d19c9c /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 3fba1e929ba17531f88809cbc12212cedaed015b (diff) |
gpu: nvgpu: Inject function addresses
Inject function addresses of gk20a_do_idle and
gk20a_do_unidle once the nvgpu module loads.
Bug 1476801
Change-Id: I67a8ae7fb654524616c2c2c710013cbc097a3f32
Signed-off-by: Yogesh Bhosale <ybhosale@nvidia.com>
Reviewed-on: http://git-master/r/785047
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 6454bbfc..ed209929 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -839,6 +839,8 @@ void gk20a_idle(struct platform_device *pdev); | |||
839 | void gk20a_disable(struct gk20a *g, u32 units); | 839 | void gk20a_disable(struct gk20a *g, u32 units); |
840 | void gk20a_enable(struct gk20a *g, u32 units); | 840 | void gk20a_enable(struct gk20a *g, u32 units); |
841 | void gk20a_reset(struct gk20a *g, u32 units); | 841 | void gk20a_reset(struct gk20a *g, u32 units); |
842 | int gk20a_do_idle(void); | ||
843 | int gk20a_do_unidle(void); | ||
842 | int __gk20a_do_idle(struct platform_device *pdev, bool force_reset); | 844 | int __gk20a_do_idle(struct platform_device *pdev, bool force_reset); |
843 | int __gk20a_do_unidle(struct platform_device *pdev); | 845 | int __gk20a_do_unidle(struct platform_device *pdev); |
844 | 846 | ||