diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2015-08-07 12:07:58 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-06 22:37:58 -0400 |
commit | 135d6db448cfaf5a366e6572f1a02a67e35d70db (patch) | |
tree | 3f5269b2dbcd8d4bde800392e16bd85690195bff /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | d14ab70b59b37858f55af316db49afbd4b0997cd (diff) |
gpu: nvgpu: Add HAL for GPU characteristics
Add function pointer for chip specific GPU characteristics init.
Bug 1637486
Change-Id: I6ce5eea124d8057393dec6e86e72412cc87e1cfa
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/780535
(cherry picked from commit f5c240d6ed19b5b9eedff05767c885ad5812c71e)
Reviewed-on: http://git-master/r/1120428
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 8a1f82bc..ee78c6e2 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -511,6 +511,8 @@ struct gpu_ops { | |||
511 | void *scatter_buffer_ptr, | 511 | void *scatter_buffer_ptr, |
512 | size_t scatter_buffer_size); | 512 | size_t scatter_buffer_size); |
513 | } cde; | 513 | } cde; |
514 | |||
515 | int (*chip_init_gpu_characteristics)(struct gk20a *g); | ||
514 | }; | 516 | }; |
515 | 517 | ||
516 | struct gk20a { | 518 | struct gk20a { |