mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: specify devfreq timer through dt
Originally, nvgpu uses deferrable timer for devfreq polling by default, this leads to issues below because of unstable polling interval. - out of time frequency scaling - unstable GPU frequency scaling This change lets users be able to specify devfreq timer through dt. If the dt node 'devfreq-timer' equals to 'delayed', then gpu will uses delayed timer for devfreq polling. Bug 3823798 Change-Id: Idc0849b4a6b8af52fda8e88f5c831f183b7a27de Signed-off-by: shaochunk <shaochunk@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2897026 Reviewed-by: Divya Singhatwaria <dsinghatwari@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c066401be7
commit
c655a5e058
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -24,5 +24,6 @@ int nvgpu_probe(struct gk20a *g,
|
||||
|
||||
void nvgpu_init_gk20a(struct gk20a *g);
|
||||
void nvgpu_read_support_gpu_tools(struct gk20a *g);
|
||||
void nvgpu_read_devfreq_timer(struct gk20a *g);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user