summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
diff options
context:
space:
mode:
authorSami Kiminki <skiminki@nvidia.com>2015-08-07 12:07:58 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-06 22:37:58 -0400
commit135d6db448cfaf5a366e6572f1a02a67e35d70db (patch)
tree3f5269b2dbcd8d4bde800392e16bd85690195bff /drivers/gpu/nvgpu/gm20b/hal_gm20b.c
parentd14ab70b59b37858f55af316db49afbd4b0997cd (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/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 5fe01833..559fee61 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GM20B Graphics 2 * GM20B Graphics
3 * 3 *
4 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -139,6 +139,7 @@ int gm20b_init_hal(struct gk20a *g)
139 gm20b_init_cde_ops(gops); 139 gm20b_init_cde_ops(gops);
140 gm20b_init_therm_ops(gops); 140 gm20b_init_therm_ops(gops);
141 gops->name = "gm20b"; 141 gops->name = "gm20b";
142 gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics;
142 143
143 c->twod_class = FERMI_TWOD_A; 144 c->twod_class = FERMI_TWOD_A;
144 c->threed_class = MAXWELL_B; 145 c->threed_class = MAXWELL_B;