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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index d9d86b63..49f386d8 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -88,6 +88,9 @@ struct gk20a_platform {
88 /* Called to turn on the device */ 88 /* Called to turn on the device */
89 int (*unrailgate)(struct platform_device *dev); 89 int (*unrailgate)(struct platform_device *dev);
90 90
91 /* Called to check state of device */
92 bool (*is_railgated)(struct platform_device *dev);
93
91 /* Postscale callback is called after frequency change */ 94 /* Postscale callback is called after frequency change */
92 void (*postscale)(struct platform_device *pdev, 95 void (*postscale)(struct platform_device *pdev,
93 unsigned long freq); 96 unsigned long freq);