summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r--include/linux/tegra_vgpu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index f0a809ba..eb510438 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -104,6 +104,7 @@ enum {
104 TEGRA_VGPU_CMD_GET_GPU_FREQ_TABLE = 70, 104 TEGRA_VGPU_CMD_GET_GPU_FREQ_TABLE = 70,
105 TEGRA_VGPU_CMD_CAP_GPU_CLK_RATE = 71, 105 TEGRA_VGPU_CMD_CAP_GPU_CLK_RATE = 71,
106 TEGRA_VGPU_CMD_PROF_MGT = 72, 106 TEGRA_VGPU_CMD_PROF_MGT = 72,
107 TEGRA_VGPU_CMD_PERFBUF_MGT = 73,
107 TEGRA_VGPU_CMD_GET_TIMESTAMPS_ZIPPER = 74, 108 TEGRA_VGPU_CMD_GET_TIMESTAMPS_ZIPPER = 74,
108}; 109};
109 110
@@ -488,6 +489,12 @@ struct tegra_vgpu_prof_mgt_params {
488 u32 mode; 489 u32 mode;
489}; 490};
490 491
492struct tegra_vgpu_perfbuf_mgt_params {
493 u64 vm_handle;
494 u64 offset;
495 u32 size;
496};
497
491#define TEGRA_VGPU_GPU_FREQ_TABLE_SIZE 25 498#define TEGRA_VGPU_GPU_FREQ_TABLE_SIZE 25
492 499
493struct tegra_vgpu_get_gpu_freq_table_params { 500struct tegra_vgpu_get_gpu_freq_table_params {
@@ -545,6 +552,7 @@ struct tegra_vgpu_cmd_msg {
545 struct tegra_vgpu_suspend_resume_contexts resume_contexts; 552 struct tegra_vgpu_suspend_resume_contexts resume_contexts;
546 struct tegra_vgpu_clear_sm_error_state clear_sm_error_state; 553 struct tegra_vgpu_clear_sm_error_state clear_sm_error_state;
547 struct tegra_vgpu_prof_mgt_params prof_management; 554 struct tegra_vgpu_prof_mgt_params prof_management;
555 struct tegra_vgpu_perfbuf_mgt_params perfbuf_management;
548 struct tegra_vgpu_get_timestamps_zipper_params get_timestamps_zipper; 556 struct tegra_vgpu_get_timestamps_zipper_params get_timestamps_zipper;
549 struct tegra_vgpu_get_gpu_freq_table_params get_gpu_freq_table; 557 struct tegra_vgpu_get_gpu_freq_table_params get_gpu_freq_table;
550 char padding[192]; 558 char padding[192];