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 706d87e4..9547e35b 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -92,6 +92,7 @@ enum {
92 TEGRA_VGPU_CMD_TSG_UNBIND_CHANNEL, 92 TEGRA_VGPU_CMD_TSG_UNBIND_CHANNEL,
93 TEGRA_VGPU_CMD_TSG_PREEMPT, 93 TEGRA_VGPU_CMD_TSG_PREEMPT,
94 TEGRA_VGPU_CMD_TSG_SET_TIMESLICE, 94 TEGRA_VGPU_CMD_TSG_SET_TIMESLICE,
95 TEGRA_VGPU_CMD_TSG_SET_RUNLIST_INTERLEAVE,
95}; 96};
96 97
97struct tegra_vgpu_connect_params { 98struct tegra_vgpu_connect_params {
@@ -379,6 +380,12 @@ struct tegra_vgpu_tsg_timeslice_params {
379 u32 timeslice_us; 380 u32 timeslice_us;
380}; 381};
381 382
383/* level follows nvgpu.h definitions */
384struct tegra_vgpu_tsg_runlist_interleave_params {
385 u32 tsg_id;
386 u32 level;
387};
388
382struct tegra_vgpu_cmd_msg { 389struct tegra_vgpu_cmd_msg {
383 u32 cmd; 390 u32 cmd;
384 int ret; 391 int ret;
@@ -418,6 +425,7 @@ struct tegra_vgpu_cmd_msg {
418 struct tegra_vgpu_tsg_bind_unbind_channel_params tsg_bind_unbind_channel; 425 struct tegra_vgpu_tsg_bind_unbind_channel_params tsg_bind_unbind_channel;
419 struct tegra_vgpu_tsg_preempt_params tsg_preempt; 426 struct tegra_vgpu_tsg_preempt_params tsg_preempt;
420 struct tegra_vgpu_tsg_timeslice_params tsg_timeslice; 427 struct tegra_vgpu_tsg_timeslice_params tsg_timeslice;
428 struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave;
421 char padding[192]; 429 char padding[192];
422 } params; 430 } params;
423}; 431};