mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: vgpu: add read ptimer support
Bug 1395833 Change-Id: Id0d427b6a1ddaecfeec33c61a6161679cf596c92 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/1159588 (cherry picked from commit d33aa89420990626fb377c56ed5517a00f717c2a) Reviewed-on: http://git-master/r/1158897 Reviewed-by: Thomas Fleury <tfleury@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
86225cb04e
commit
22d0233d3a
@@ -95,6 +95,7 @@ enum {
|
||||
TEGRA_VGPU_CMD_TSG_SET_RUNLIST_INTERLEAVE,
|
||||
TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET,
|
||||
TEGRA_VGPU_CMD_CHANNEL_ENABLE,
|
||||
TEGRA_VGPU_CMD_READ_PTIMER,
|
||||
};
|
||||
|
||||
struct tegra_vgpu_connect_params {
|
||||
@@ -389,6 +390,10 @@ struct tegra_vgpu_tsg_runlist_interleave_params {
|
||||
u32 level;
|
||||
};
|
||||
|
||||
struct tegra_vgpu_read_ptimer_params {
|
||||
u64 time;
|
||||
};
|
||||
|
||||
struct tegra_vgpu_cmd_msg {
|
||||
u32 cmd;
|
||||
int ret;
|
||||
@@ -429,6 +434,7 @@ struct tegra_vgpu_cmd_msg {
|
||||
struct tegra_vgpu_tsg_preempt_params tsg_preempt;
|
||||
struct tegra_vgpu_tsg_timeslice_params tsg_timeslice;
|
||||
struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave;
|
||||
struct tegra_vgpu_read_ptimer_params read_ptimer;
|
||||
char padding[192];
|
||||
} params;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user