diff options
author | Kevin Huang <kevinh@nvidia.com> | 2014-03-26 14:49:04 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:08:54 -0400 |
commit | b5acc421ee159c932e9e95adaa6d89a0c2141b38 (patch) | |
tree | 62ddee386d8da27e1e8f7519d739862137277a9d /drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h | |
parent | a9785995d5f22aaeb659285f8aeb64d8b56982e0 (diff) |
video: tegra: host: flexible to select fw per chip
Decouple the firmware selection of different gpu architecture.
Change-Id: I62bf6b3bc51a8606c5973e475988cd5987a65a1a
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/389793
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h index 909a166a..6844ee69 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Graphics Context | 2 | * GK20A Graphics Context |
3 | * | 3 | * |
4 | * Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2011-2014, 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, |
@@ -18,10 +18,10 @@ | |||
18 | #ifndef __GR_CTX_GK20A_H__ | 18 | #ifndef __GR_CTX_GK20A_H__ |
19 | #define __GR_CTX_GK20A_H__ | 19 | #define __GR_CTX_GK20A_H__ |
20 | 20 | ||
21 | |||
22 | /* production netlist, one and only one from below */ | 21 | /* production netlist, one and only one from below */ |
23 | /*#undef GK20A_NETLIST_IMAGE_FW_NAME*/ | 22 | /*#undef GK20A_NETLIST_IMAGE_FW_NAME*/ |
24 | #define GK20A_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_B | 23 | #define GK20A_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_B |
24 | |||
25 | /* emulation netlists, match majorV with HW */ | 25 | /* emulation netlists, match majorV with HW */ |
26 | #define GK20A_NETLIST_IMAGE_A "NETA_img.bin" | 26 | #define GK20A_NETLIST_IMAGE_A "NETA_img.bin" |
27 | #define GK20A_NETLIST_IMAGE_B "NETB_img.bin" | 27 | #define GK20A_NETLIST_IMAGE_B "NETB_img.bin" |
@@ -146,4 +146,7 @@ struct gr_ucode_gk20a { | |||
146 | int gr_gk20a_init_ctx_vars(struct gk20a *g, struct gr_gk20a *gr); | 146 | int gr_gk20a_init_ctx_vars(struct gk20a *g, struct gr_gk20a *gr); |
147 | int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr); | 147 | int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr); |
148 | 148 | ||
149 | struct gpu_ops; | ||
150 | void gk20a_init_gr_ctx(struct gpu_ops *gops); | ||
151 | |||
149 | #endif /*__GR_CTX_GK20A_H__*/ | 152 | #endif /*__GR_CTX_GK20A_H__*/ |