summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 15e81291..121dd962 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -130,6 +130,11 @@ enum gk20a_cbc_op {
130 130
131enum nvgpu_unit; 131enum nvgpu_unit;
132 132
133/*
134 * gpu_ops should only contain function pointers! Non-function pointer members
135 * should go in struct gk20a or be implemented with the boolean flag API defined
136 * in nvgpu/enabled.h
137 */
133struct gpu_ops { 138struct gpu_ops {
134 struct { 139 struct {
135 int (*determine_L2_size_bytes)(struct gk20a *gk20a); 140 int (*determine_L2_size_bytes)(struct gk20a *gk20a);