diff options
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r-- | include/linux/tegra_vgpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index eb510438..3f73d357 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -21,6 +21,10 @@ | |||
21 | 21 | ||
22 | #include <nvgpu/types.h> | 22 | #include <nvgpu/types.h> |
23 | 23 | ||
24 | #ifdef CONFIG_TEGRA_19x_GPU | ||
25 | #include <linux/tegra_vgpu_t19x.h> | ||
26 | #endif | ||
27 | |||
24 | enum { | 28 | enum { |
25 | TEGRA_VGPU_MODULE_GPU = 0, | 29 | TEGRA_VGPU_MODULE_GPU = 0, |
26 | }; | 30 | }; |
@@ -454,6 +458,7 @@ struct tegra_vgpu_constants_params { | |||
454 | u8 force_preempt_mode; | 458 | u8 force_preempt_mode; |
455 | u32 default_timeslice_us; | 459 | u32 default_timeslice_us; |
456 | u32 preempt_ctx_size; | 460 | u32 preempt_ctx_size; |
461 | u32 channel_base; | ||
457 | }; | 462 | }; |
458 | 463 | ||
459 | struct tegra_vgpu_channel_cyclestats_snapshot_params { | 464 | struct tegra_vgpu_channel_cyclestats_snapshot_params { |
@@ -555,6 +560,9 @@ struct tegra_vgpu_cmd_msg { | |||
555 | struct tegra_vgpu_perfbuf_mgt_params perfbuf_management; | 560 | struct tegra_vgpu_perfbuf_mgt_params perfbuf_management; |
556 | struct tegra_vgpu_get_timestamps_zipper_params get_timestamps_zipper; | 561 | struct tegra_vgpu_get_timestamps_zipper_params get_timestamps_zipper; |
557 | struct tegra_vgpu_get_gpu_freq_table_params get_gpu_freq_table; | 562 | struct tegra_vgpu_get_gpu_freq_table_params get_gpu_freq_table; |
563 | #ifdef CONFIG_TEGRA_19x_GPU | ||
564 | union tegra_vgpu_t19x_params t19x; | ||
565 | #endif | ||
558 | char padding[192]; | 566 | char padding[192]; |
559 | } params; | 567 | } params; |
560 | }; | 568 | }; |