diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_pmu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/sysfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_pmu.c b/drivers/gpu/nvgpu/common/linux/debug_pmu.c index a8a8870e..f4ed992d 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_pmu.c +++ b/drivers/gpu/nvgpu/common/linux/debug_pmu.c | |||
@@ -27,7 +27,7 @@ static int lpwr_debug_show(struct seq_file *s, void *data) | |||
27 | if (g->ops.pmu.pmu_pg_engines_feature_list && | 27 | if (g->ops.pmu.pmu_pg_engines_feature_list && |
28 | g->ops.pmu.pmu_pg_engines_feature_list(g, | 28 | g->ops.pmu.pmu_pg_engines_feature_list(g, |
29 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != | 29 | PMU_PG_ELPG_ENGINE_ID_GRAPHICS) != |
30 | PMU_PG_FEATURE_GR_POWER_GATING_ENABLED) { | 30 | NVGPU_PMU_GR_FEATURE_MASK_POWER_GATING) { |
31 | seq_printf(s, "PSTATE: %u\n" | 31 | seq_printf(s, "PSTATE: %u\n" |
32 | "RPPG Enabled: %u\n" | 32 | "RPPG Enabled: %u\n" |
33 | "RPPG ref count: %u\n" | 33 | "RPPG ref count: %u\n" |
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 { |