mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: set GR tick frequency to max
GR tick frequency needs to be set to MAX value for profiler use cases for gp10b/gv11b/tu104 chips. Add new HAL g->ops.ptimer.config_gr_tick_freq() that configures GR tick frequency to MAX value and call this HAL in GPU poweron path. This support is not needed in safety build, so compile everything only if CONFIG_NVGPU_DEBUGGER is enabled Bug 200289214 Change-Id: Id8378540cc67ca0041b56990f8676e3a105403a5 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2195163 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
69f990623b
commit
1d5698cf6a
@@ -88,12 +88,18 @@ priv_ring:
|
||||
owner: Seema K
|
||||
sources: [ hal/priv_ring/priv_ring_gm20b.c ]
|
||||
|
||||
ptimer:
|
||||
ptimer_fusa:
|
||||
safe: yes
|
||||
owner: Terje B
|
||||
sources: [ hal/ptimer/ptimer_gk20a_fusa.c,
|
||||
hal/ptimer/ptimer_gk20a.h ]
|
||||
|
||||
ptimer:
|
||||
safe: no
|
||||
owner: Deepak N
|
||||
sources: [ hal/ptimer/ptimer_gp10b.c,
|
||||
hal/ptimer/ptimer_gp10b.h ]
|
||||
|
||||
cg_fusa:
|
||||
safe: yes
|
||||
owner: Seema K
|
||||
|
||||
Reference in New Issue
Block a user