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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index bdaabf29..706d87e4 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -91,6 +91,7 @@ enum {
91 TEGRA_VGPU_CMD_TSG_BIND_CHANNEL, 91 TEGRA_VGPU_CMD_TSG_BIND_CHANNEL,
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}; 95};
95 96
96struct tegra_vgpu_connect_params { 97struct tegra_vgpu_connect_params {
@@ -373,6 +374,11 @@ struct tegra_vgpu_tsg_preempt_params {
373 u32 tsg_id; 374 u32 tsg_id;
374}; 375};
375 376
377struct tegra_vgpu_tsg_timeslice_params {
378 u32 tsg_id;
379 u32 timeslice_us;
380};
381
376struct tegra_vgpu_cmd_msg { 382struct tegra_vgpu_cmd_msg {
377 u32 cmd; 383 u32 cmd;
378 int ret; 384 int ret;
@@ -411,6 +417,7 @@ struct tegra_vgpu_cmd_msg {
411 struct tegra_vgpu_tsg_bind_gr_ctx_params tsg_bind_gr_ctx; 417 struct tegra_vgpu_tsg_bind_gr_ctx_params tsg_bind_gr_ctx;
412 struct tegra_vgpu_tsg_bind_unbind_channel_params tsg_bind_unbind_channel; 418 struct tegra_vgpu_tsg_bind_unbind_channel_params tsg_bind_unbind_channel;
413 struct tegra_vgpu_tsg_preempt_params tsg_preempt; 419 struct tegra_vgpu_tsg_preempt_params tsg_preempt;
420 struct tegra_vgpu_tsg_timeslice_params tsg_timeslice;
414 char padding[192]; 421 char padding[192];
415 } params; 422 } params;
416}; 423};