diff options
author | David Nieto <dmartineznie@nvidia.com> | 2016-09-19 14:28:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-20 01:10:17 -0400 |
commit | 2c3c567553a20e71b1dc0cba892772f33aacaa01 (patch) | |
tree | 4c553962b0c7508baa6983b96ee7737593a1156e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | f4b05d295fe821d2871ba22dde178674359fe563 (diff) |
gpu: nvgpu: add support for devinit scripts exec
JIRA DNVGPU-117
Change-Id: I8c79e5b2fcad25588c950e786289443ed64fd48d
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1223221
(cherry-picked from commit f3185ad9f141ab32a224046185d0a409a8a513ff)
Reviewed-on: http://git-master/r/1227254
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 2d4e6bbf..67cb5912 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -684,6 +684,7 @@ struct gpu_ops { | |||
684 | int (*init)(struct gk20a *g); | 684 | int (*init)(struct gk20a *g); |
685 | void *(*get_perf_table_ptrs)(struct gk20a *g, | 685 | void *(*get_perf_table_ptrs)(struct gk20a *g, |
686 | struct bit_token *ptoken, u8 table_id); | 686 | struct bit_token *ptoken, u8 table_id); |
687 | int (*execute_script)(struct gk20a *g, u32 offset); | ||
687 | } bios; | 688 | } bios; |
688 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 689 | #if defined(CONFIG_GK20A_CYCLE_STATS) |
689 | struct { | 690 | struct { |
@@ -738,6 +739,11 @@ struct nvgpu_bios { | |||
738 | u8 *bootscripts; | 739 | u8 *bootscripts; |
739 | u32 bootscripts_size; | 740 | u32 bootscripts_size; |
740 | 741 | ||
742 | u8 mem_strap_data_count; | ||
743 | u16 mem_strap_xlat_tbl_ptr; | ||
744 | |||
745 | u32 condition_table_ptr; | ||
746 | |||
741 | u32 devinit_tables_phys_base; | 747 | u32 devinit_tables_phys_base; |
742 | u32 devinit_script_phys_base; | 748 | u32 devinit_script_phys_base; |
743 | 749 | ||