diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/sysfs.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/sysfs.c b/drivers/gpu/nvgpu/common/linux/sysfs.c index 86f1877d..afa08fc4 100644 --- a/drivers/gpu/nvgpu/common/linux/sysfs.c +++ b/drivers/gpu/nvgpu/common/linux/sysfs.c | |||
@@ -477,7 +477,7 @@ static ssize_t elpg_enable_store(struct device *dev, | |||
477 | if (g->ops.pmu.pmu_pg_engines_feature_list && | 477 | if (g->ops.pmu.pmu_pg_engines_feature_list && |
478 | g->ops.pmu.pmu_pg_engines_feature_list(g, | 478 | g->ops.pmu.pmu_pg_engines_feature_list(g, |
479 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != | 479 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != |
480 | PMU_PG_FEATURE_GR_POWER_GATING_ENABLED) { | 480 | NVGPU_PMU_GR_FEATURE_MASK_POWER_GATING) { |
481 | nvgpu_pmu_pg_global_enable(g, false); | 481 | nvgpu_pmu_pg_global_enable(g, false); |
482 | g->elpg_enabled = false; | 482 | g->elpg_enabled = false; |
483 | } else { | 483 | } else { |