From b5acc421ee159c932e9e95adaa6d89a0c2141b38 Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Wed, 26 Mar 2014 11:49:04 -0700 Subject: 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 Reviewed-on: http://git-master/r/389793 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.h') 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 @@ /* * GK20A Graphics Context * - * Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -18,10 +18,10 @@ #ifndef __GR_CTX_GK20A_H__ #define __GR_CTX_GK20A_H__ - /* production netlist, one and only one from below */ /*#undef GK20A_NETLIST_IMAGE_FW_NAME*/ #define GK20A_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_B + /* emulation netlists, match majorV with HW */ #define GK20A_NETLIST_IMAGE_A "NETA_img.bin" #define GK20A_NETLIST_IMAGE_B "NETB_img.bin" @@ -146,4 +146,7 @@ struct gr_ucode_gk20a { int gr_gk20a_init_ctx_vars(struct gk20a *g, struct gr_gk20a *gr); int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr); +struct gpu_ops; +void gk20a_init_gr_ctx(struct gpu_ops *gops); + #endif /*__GR_CTX_GK20A_H__*/ -- cgit v1.2.2