mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: ga10b: enable rail gating
Bug 3514055 Change-Id: Ie7c268e7555bab6f7f0872c2774be39893d6459e Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2590816 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Antony Clince Alex <aalex@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2740221686
commit
ad884ffa53
@@ -219,8 +219,11 @@ static void nvgpu_init_pm_vars(struct gk20a *g)
|
||||
platform->devfreq_governor = NULL;
|
||||
platform->qos_notify = NULL;
|
||||
} else {
|
||||
/* Always enable railgating on simulation platform */
|
||||
platform->can_railgate_init = nvgpu_platform_is_simulation(g) ?
|
||||
true : platform->can_railgate_init;
|
||||
nvgpu_set_enabled(g, NVGPU_CAN_RAILGATE,
|
||||
nvgpu_platform_is_simulation(g) ? true : platform->can_railgate_init);
|
||||
platform->can_railgate_init);
|
||||
}
|
||||
#ifdef CONFIG_NVGPU_STATIC_POWERGATE
|
||||
g->can_tpc_pg = platform->can_tpc_pg;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* GA10B Tegra Platform Interface
|
||||
*
|
||||
* Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2022, 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,
|
||||
@@ -622,7 +622,7 @@ struct gk20a_platform ga10b_tegra_platform = {
|
||||
.late_probe = ga10b_tegra_late_probe,
|
||||
.remove = ga10b_tegra_remove,
|
||||
.railgate_delay_init = 500,
|
||||
.can_railgate_init = false,
|
||||
.can_railgate_init = true,
|
||||
|
||||
#ifdef CONFIG_NVGPU_STATIC_POWERGATE
|
||||
/* add tpc powergate JIRA NVGPU-4683 */
|
||||
|
||||
Reference in New Issue
Block a user