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/hal_gk20a.c | |
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/hal_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal_gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c index 9718aad2..6df8f37c 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * GK20A Tegra HAL interface. | 4 | * GK20A Tegra HAL interface. |
5 | * | 5 | * |
6 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms and conditions of the GNU General Public License, | 9 | * under the terms and conditions of the GNU General Public License, |
@@ -70,6 +70,7 @@ int gk20a_init_hal(struct gk20a *g) | |||
70 | gk20a_init_debug_ops(gops); | 70 | gk20a_init_debug_ops(gops); |
71 | gk20a_init_therm_ops(gops); | 71 | gk20a_init_therm_ops(gops); |
72 | gops->name = "gk20a"; | 72 | gops->name = "gk20a"; |
73 | gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics; | ||
73 | 74 | ||
74 | c->twod_class = FERMI_TWOD_A; | 75 | c->twod_class = FERMI_TWOD_A; |
75 | c->threed_class = KEPLER_C; | 76 | c->threed_class = KEPLER_C; |