mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
max_ctxsw_ring_buffer_size variable in struct nvgpu_gr is used to store max ring buffer size which is then referred into linux specific code We only use macro GK20A_CTXSW_TRACE_MAX_VM_RING_SIZE to initialize the variable. And max_ctxsw_ring_buffer_size does not belong to nvgpu_gr struct anyways Considering above remove max_ctxsw_ring_buffer_size from nvgpu_gr and use macro directly in linux specific code Jira NVGPU-3125 Change-Id: Ibed9901d2bde35633d9ad0df8bd08b414e075bf4 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2105653 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>