mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Revert "Revert "gpu: nvgpu: vgpu: alloc hwpm ctxt buf on client""
This reverts commit 5f1c2bc27f.
Added back now that matching RM server has been updated:
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: Ie5ce2c2562401b1f00821231d37608e3fc30d4a4
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1252138
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8fa5e7c58a
commit
1ba169d7db
@@ -348,6 +348,7 @@ enum {
|
||||
|
||||
struct tegra_vgpu_channel_set_ctxsw_mode {
|
||||
u64 handle;
|
||||
u64 gpu_va;
|
||||
u32 mode;
|
||||
};
|
||||
|
||||
@@ -436,6 +437,7 @@ struct tegra_vgpu_constants_params {
|
||||
* TEGRA_VGPU_MAX_TPC_COUNT_PER_GPC
|
||||
*/
|
||||
u16 gpc_tpc_mask[TEGRA_VGPU_MAX_GPC_COUNT];
|
||||
u32 hwpm_ctx_size;
|
||||
};
|
||||
|
||||
struct tegra_vgpu_channel_cyclestats_snapshot_params {
|
||||
|
||||
Reference in New Issue
Block a user