diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-02-06 18:54:37 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-07 18:16:59 -0500 |
commit | 521253acb761041a5d9ba97a7a789fe02682a03d (patch) | |
tree | 133a2072f8b4069cf07324c491713cee8ea38801 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 8c3dddd81fb0ab2bd9e8582c0765734432931caf (diff) |
gpu: nvgpu: implement chip specific init_elcg_mode
Added function pointer to implement chip specific
init_elcg mode and updated this pointer for legacy chips.
JIRA GV11B-58
Change-Id: I3fff4f771eaa5dad98a3d8166c9127ecd6b745e4
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1300120
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@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 2f6e83a4..19fa4e26 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -337,6 +337,7 @@ struct gpu_ops { | |||
337 | struct mem_desc *mem, u64 gpu_va); | 337 | struct mem_desc *mem, u64 gpu_va); |
338 | void (*write_pm_ptr)(struct gk20a *g, | 338 | void (*write_pm_ptr)(struct gk20a *g, |
339 | struct mem_desc *mem, u64 gpu_va); | 339 | struct mem_desc *mem, u64 gpu_va); |
340 | void (*init_elcg_mode)(struct gk20a *g, u32 mode, u32 engine); | ||
340 | } gr; | 341 | } gr; |
341 | const char *name; | 342 | const char *name; |
342 | struct { | 343 | struct { |