summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorYogesh <ybhosale@nvidia.com>2015-08-17 19:41:02 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-08-21 18:14:44 -0400
commit05a6b54914fcd7f21ca30c32dbb851e6eecfc64c (patch)
treec1edd149e730897e5fa84dc6b84efbee49d19c9c /drivers/gpu/nvgpu/gk20a/gk20a.h
parent3fba1e929ba17531f88809cbc12212cedaed015b (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.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 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);
839void gk20a_disable(struct gk20a *g, u32 units); 839void gk20a_disable(struct gk20a *g, u32 units);
840void gk20a_enable(struct gk20a *g, u32 units); 840void gk20a_enable(struct gk20a *g, u32 units);
841void gk20a_reset(struct gk20a *g, u32 units); 841void gk20a_reset(struct gk20a *g, u32 units);
842int gk20a_do_idle(void);
843int gk20a_do_unidle(void);
842int __gk20a_do_idle(struct platform_device *pdev, bool force_reset); 844int __gk20a_do_idle(struct platform_device *pdev, bool force_reset);
843int __gk20a_do_unidle(struct platform_device *pdev); 845int __gk20a_do_unidle(struct platform_device *pdev);
844 846