diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 5 |
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 | ||
131 | enum nvgpu_unit; | 131 | enum 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 | */ | ||
133 | struct gpu_ops { | 138 | struct gpu_ops { |
134 | struct { | 139 | struct { |
135 | int (*determine_L2_size_bytes)(struct gk20a *gk20a); | 140 | int (*determine_L2_size_bytes)(struct gk20a *gk20a); |