mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: vgpu: remove cycle stats from characteristics
vgpu does not support cycle stats. Bug 1781434 Bug 200275051 JIRA VFND-3513 Change-Id: Id1d566027913632fc8a4f0285609be5f56b26288 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/1314064 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b9feba6efc
commit
baf464779e
@@ -314,6 +314,10 @@ static int vgpu_init_gpu_characteristics(struct gk20a *g)
|
|||||||
|
|
||||||
g->gpu_characteristics.max_freq = priv->constants.max_freq;
|
g->gpu_characteristics.max_freq = priv->constants.max_freq;
|
||||||
g->gpu_characteristics.map_buffer_batch_limit = 0;
|
g->gpu_characteristics.map_buffer_batch_limit = 0;
|
||||||
|
|
||||||
|
/* features vgpu does not support */
|
||||||
|
g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user