summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index 76e9cf6c..6dd0c0db 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -94,6 +94,12 @@ struct gk20a_platform {
94 */ 94 */
95 int (*late_probe)(struct platform_device *dev); 95 int (*late_probe)(struct platform_device *dev);
96 96
97 /* Poweron platform dependencies */
98 int (*busy)(struct platform_device *dev);
99
100 /* Powerdown platform dependencies */
101 void (*idle)(struct platform_device *dev);
102
97 /* This function is called to allocate secure memory (memory that the 103 /* This function is called to allocate secure memory (memory that the
98 * CPU cannot see). The function should fill the context buffer 104 * CPU cannot see). The function should fill the context buffer
99 * descriptor (especially fields destroy, sgt, size). 105 * descriptor (especially fields destroy, sgt, size).