diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tegra_vgpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 9ecc44a7..3e3bbf58 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -101,6 +101,7 @@ enum { | |||
101 | TEGRA_VGPU_CMD_GET_GPU_LOAD = 65, | 101 | TEGRA_VGPU_CMD_GET_GPU_LOAD = 65, |
102 | TEGRA_VGPU_CMD_SUSPEND_CONTEXTS = 66, | 102 | TEGRA_VGPU_CMD_SUSPEND_CONTEXTS = 66, |
103 | TEGRA_VGPU_CMD_RESUME_CONTEXTS = 67, | 103 | TEGRA_VGPU_CMD_RESUME_CONTEXTS = 67, |
104 | TEGRA_VGPU_CMD_CLEAR_SM_ERROR_STATE = 68, | ||
104 | }; | 105 | }; |
105 | 106 | ||
106 | struct tegra_vgpu_connect_params { | 107 | struct tegra_vgpu_connect_params { |
@@ -462,6 +463,11 @@ struct tegra_vgpu_suspend_resume_contexts { | |||
462 | u16 chids[]; | 463 | u16 chids[]; |
463 | }; | 464 | }; |
464 | 465 | ||
466 | struct tegra_vgpu_clear_sm_error_state { | ||
467 | u64 handle; | ||
468 | u32 sm_id; | ||
469 | }; | ||
470 | |||
465 | struct tegra_vgpu_cmd_msg { | 471 | struct tegra_vgpu_cmd_msg { |
466 | u32 cmd; | 472 | u32 cmd; |
467 | int ret; | 473 | int ret; |
@@ -510,6 +516,7 @@ struct tegra_vgpu_cmd_msg { | |||
510 | struct tegra_vgpu_gpu_load_params gpu_load; | 516 | struct tegra_vgpu_gpu_load_params gpu_load; |
511 | struct tegra_vgpu_suspend_resume_contexts suspend_contexts; | 517 | struct tegra_vgpu_suspend_resume_contexts suspend_contexts; |
512 | struct tegra_vgpu_suspend_resume_contexts resume_contexts; | 518 | struct tegra_vgpu_suspend_resume_contexts resume_contexts; |
519 | struct tegra_vgpu_clear_sm_error_state clear_sm_error_state; | ||
513 | char padding[192]; | 520 | char padding[192]; |
514 | } params; | 521 | } params; |
515 | }; | 522 | }; |