diff options
author | Adeel Raza <araza@nvidia.com> | 2016-02-02 16:30:04 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-02-19 15:51:01 -0500 |
commit | 21605d09a58d0755e0e76c146a7d241fe0bb3517 (patch) | |
tree | 4c50d55adfd123438db305c1677725539b054de1 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 9d26da70be6b7babafc0a8199aa38b4f60c980d9 (diff) |
gpu: nvgpu: add create_gr_sysfs() function pointer
Add create_gr_sysfs() function pointer for creating gr specific sysfs
nodes.
Bug 1699676
Change-Id: I0a14d3676ebfcd5adebce673e46bdaad8d6aecf7
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/1008658
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 24c062d2..01d1a167 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -206,6 +206,7 @@ struct gpu_ops { | |||
206 | bool *post_event, struct channel_gk20a *fault_ch); | 206 | bool *post_event, struct channel_gk20a *fault_ch); |
207 | int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc, | 207 | int (*handle_tex_exception)(struct gk20a *g, u32 gpc, u32 tpc, |
208 | bool *post_event); | 208 | bool *post_event); |
209 | void (*create_gr_sysfs)(struct platform_device *dev); | ||
209 | } gr; | 210 | } gr; |
210 | const char *name; | 211 | const char *name; |
211 | struct { | 212 | struct { |