summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
authorPeter Daifuku <pdaifuku@nvidia.com>2016-10-21 18:26:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-03 13:35:12 -0400
commit57821e215756b3df7acc9c0eb5017e39f141d381 (patch)
tree5cf4c54d54600b96fe9411278e823e55fb01398d /include/linux/tegra_vgpu.h
parent3ec909036af46fbe582c50e486beb2bded42b645 (diff)
gpu: nvgpu: vgpu: alloc hwpm ctxt buf on client
In hypervisor mode, all GPU VA allocations must be done by client; fix this for the allocation of the hwpm ctxt buffer Bug 200231611 Change-Id: I0270b1298308383a969a47d0a859ed53c20594ef Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-on: http://git-master/r/1240913 (cherry picked from commit 49314d42b13e27dc2f8c1e569a8c3e750173148d) Reviewed-on: http://git-master/r/1245867 (cherry picked from commit d0b10e84d90d0fd61eca8be0f9e879d9cec71d3e) Reviewed-on: http://git-master/r/1246700 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r--include/linux/tegra_vgpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index be8b9ad1..456622a4 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -348,6 +348,7 @@ enum {
348 348
349struct tegra_vgpu_channel_set_ctxsw_mode { 349struct tegra_vgpu_channel_set_ctxsw_mode {
350 u64 handle; 350 u64 handle;
351 u64 gpu_va;
351 u32 mode; 352 u32 mode;
352}; 353};
353 354
@@ -436,6 +437,7 @@ struct tegra_vgpu_constants_params {
436 * TEGRA_VGPU_MAX_TPC_COUNT_PER_GPC 437 * TEGRA_VGPU_MAX_TPC_COUNT_PER_GPC
437 */ 438 */
438 u16 gpc_tpc_mask[TEGRA_VGPU_MAX_GPC_COUNT]; 439 u16 gpc_tpc_mask[TEGRA_VGPU_MAX_GPC_COUNT];
440 u32 hwpm_ctx_size;
439}; 441};
440 442
441struct tegra_vgpu_channel_cyclestats_snapshot_params { 443struct tegra_vgpu_channel_cyclestats_snapshot_params {