summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h
index 6abb5e33..e33dce94 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h
@@ -123,6 +123,8 @@ enum {
123 TEGRA_VGPU_CMD_RESUME = 83, 123 TEGRA_VGPU_CMD_RESUME = 83,
124 TEGRA_VGPU_CMD_GET_ECC_INFO = 84, 124 TEGRA_VGPU_CMD_GET_ECC_INFO = 84,
125 TEGRA_VGPU_CMD_GET_ECC_COUNTER_VALUE = 85, 125 TEGRA_VGPU_CMD_GET_ECC_COUNTER_VALUE = 85,
126 TEGRA_VGPU_CMD_FB_SET_MMU_DEBUG_MODE = 88,
127 TEGRA_VGPU_CMD_GR_SET_MMU_DEBUG_MODE = 89,
126}; 128};
127 129
128struct tegra_vgpu_connect_params { 130struct tegra_vgpu_connect_params {
@@ -617,6 +619,15 @@ struct tegra_vgpu_tsg_bind_channel_ex_params {
617 u32 runqueue_sel; 619 u32 runqueue_sel;
618}; 620};
619 621
622struct tegra_vgpu_fb_set_mmu_debug_mode_params {
623 u8 enable;
624};
625
626struct tegra_vgpu_gr_set_mmu_debug_mode_params {
627 u64 ch_handle;
628 u8 enable;
629};
630
620struct tegra_vgpu_cmd_msg { 631struct tegra_vgpu_cmd_msg {
621 u32 cmd; 632 u32 cmd;
622 int ret; 633 int ret;
@@ -679,6 +690,8 @@ struct tegra_vgpu_cmd_msg {
679 struct tegra_vgpu_channel_update_pc_sampling update_pc_sampling; 690 struct tegra_vgpu_channel_update_pc_sampling update_pc_sampling;
680 struct tegra_vgpu_ecc_info_params ecc_info; 691 struct tegra_vgpu_ecc_info_params ecc_info;
681 struct tegra_vgpu_ecc_counter_params ecc_counter; 692 struct tegra_vgpu_ecc_counter_params ecc_counter;
693 struct tegra_vgpu_fb_set_mmu_debug_mode_params fb_set_mmu_debug_mode;
694 struct tegra_vgpu_gr_set_mmu_debug_mode_params gr_set_mmu_debug_mode;
682 char padding[192]; 695 char padding[192];
683 } params; 696 } params;
684}; 697};