diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-01-31 05:57:48 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:33 -0400 |
commit | a4d9f96efae76b32ed054b76c12520be2bbcad26 (patch) | |
tree | 1f4fb929210c952d96c8335039c607ae89ab1312 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | c44f2084eb1a6bb722bc1c83010caf8e0a0744e8 (diff) |
video: tegra: host: gm20b: Implement gr ops
Implement gm20b specific gr ops.
Bug 1387211
Change-Id: I4523311f1c155ba2d3403dcf222769f6817b2450
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/362415
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index dea740c2..1aae0304 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include "gk20a.h" | 16 | #include "gk20a.h" |
17 | #include "hal_gk20a.h" | 17 | #include "hal_gk20a.h" |
18 | #include "gm20b/hal_gm20b.h" | ||
18 | 19 | ||
19 | int gpu_init_hal(struct gk20a *g) | 20 | int gpu_init_hal(struct gk20a *g) |
20 | { | 21 | { |
@@ -24,6 +25,9 @@ int gpu_init_hal(struct gk20a *g) | |||
24 | gk20a_dbg_info("gk20a detected"); | 25 | gk20a_dbg_info("gk20a detected"); |
25 | gk20a_init_hal(&g->ops); | 26 | gk20a_init_hal(&g->ops); |
26 | break; | 27 | break; |
28 | case GK20A_GPUID_GM20B: | ||
29 | gm20b_init_hal(&g->ops); | ||
30 | break; | ||
27 | default: | 31 | default: |
28 | gk20a_err(&g->dev->dev, "no support for %x", ver); | 32 | gk20a_err(&g->dev->dev, "no support for %x", ver); |
29 | return -ENODEV; | 33 | return -ENODEV; |