Files
linux-nvgpu/drivers/gpu
shaochunk 7a65a3e636 gpu: nvgpu: support module parameters for devfreq
For POR like safety GPU, we may specify devfreq
timer and governor to keep GPU running with high
performance.

This change supports module parameters for
specifying devfreq governor and devfreq timer.

safety nvgpu module parameter example:
devfreq_timer="delayed" devfreq_gov="performance"

Regarding devfreq timers, a delayed timer can
ensure that the devfreq monitor polls on time.
However, a deferrable timer might potentially
cause a delay in polling time.

Regarding devfreq governors, the default governor
of nvgpu is nvhost_podgov, which scales the gpu
frequency based on GPU load reported by PMU.
Using the performance governor will keep the GPU
operating at a higher GPU frequency,
providing better performance.

Bug 4084478

Change-Id: I9dfef11648203c6af281e980d3a5790b36742414
Signed-off-by: shaochunk <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2978810
Reviewed-by: Divya Singhatwaria <dsinghatwari@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-23 05:09:38 -07:00
..
2022-06-07 12:24:44 -07:00