summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 1ca8ff77..62269f21 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -53,6 +53,7 @@ struct acr_desc;
53#include "cde_gk20a.h" 53#include "cde_gk20a.h"
54#include "debug_gk20a.h" 54#include "debug_gk20a.h"
55#include "sched_gk20a.h" 55#include "sched_gk20a.h"
56#include "gm206/bios_gm206.h"
56 57
57/* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds. 58/* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds.
58 32 ns is the resolution of ptimer. */ 59 32 ns is the resolution of ptimer. */
@@ -656,6 +657,8 @@ struct gpu_ops {
656 657
657 struct { 658 struct {
658 int (*init)(struct gk20a *g); 659 int (*init)(struct gk20a *g);
660 void *(*get_perf_table_ptrs)(struct gk20a *g,
661 struct bit_token *ptoken, u8 table_id);
659 } bios; 662 } bios;
660#if defined(CONFIG_GK20A_CYCLE_STATS) 663#if defined(CONFIG_GK20A_CYCLE_STATS)
661 struct { 664 struct {
@@ -704,6 +707,8 @@ struct nvgpu_bios {
704 u32 devinit_tables_phys_base; 707 u32 devinit_tables_phys_base;
705 u32 devinit_script_phys_base; 708 u32 devinit_script_phys_base;
706 709
710 struct bit_token *perf_token;
711 struct bit_token *clock_token;
707 u32 expansion_rom_offset; 712 u32 expansion_rom_offset;
708}; 713};
709 714