mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Disable frequency scaling for AV+L
NVGPU does not support frequency scaling on hypervisor based embedded environments.Disable frequency scaling on AV+L using the nvgpu_is_hypervisor_mode(). JIRA NVGPU-7283 Change-Id: If8fbcc0c5e2f11b9e8895825bb3b3022e7bd3005 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2654969 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Kasinadha Dendukuri <kdendukuri@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6bfa11c327
commit
4f41ce7696
@@ -215,6 +215,9 @@ static void nvgpu_init_pm_vars(struct gk20a *g)
|
||||
if (nvgpu_is_hypervisor_mode(g)) {
|
||||
nvgpu_set_enabled(g, NVGPU_CAN_RAILGATE, false);
|
||||
platform->can_railgate_init = false;
|
||||
/* Disable frequency scaling for hypervisor platforms */
|
||||
platform->devfreq_governor = NULL;
|
||||
platform->qos_notify = NULL;
|
||||
} else {
|
||||
nvgpu_set_enabled(g, NVGPU_CAN_RAILGATE,
|
||||
nvgpu_platform_is_simulation(g) ? true : platform->can_railgate_init);
|
||||
|
||||
Reference in New Issue
Block a user