diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu')
-rw-r--r-- | drivers/gpu/nvgpu/common/pmu/pmu.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu.c b/drivers/gpu/nvgpu/common/pmu/pmu.c index 8d051e5a..59d38277 100644 --- a/drivers/gpu/nvgpu/common/pmu/pmu.c +++ b/drivers/gpu/nvgpu/common/pmu/pmu.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -526,6 +526,13 @@ static int nvgpu_pg_init_task(void *arg) | |||
526 | nvgpu_pmu_dbg(g, "loaded zbc"); | 526 | nvgpu_pmu_dbg(g, "loaded zbc"); |
527 | pmu_setup_hw_enable_elpg(g); | 527 | pmu_setup_hw_enable_elpg(g); |
528 | nvgpu_pmu_dbg(g, "PMU booted, thread exiting"); | 528 | nvgpu_pmu_dbg(g, "PMU booted, thread exiting"); |
529 | |||
530 | gk20a_gr_wait_initialized(g); | ||
531 | |||
532 | nvgpu_cg_blcg_enable_no_wait(g); | ||
533 | |||
534 | nvgpu_cg_elcg_enable_no_wait(g); | ||
535 | |||
529 | return 0; | 536 | return 0; |
530 | default: | 537 | default: |
531 | nvgpu_pmu_dbg(g, "invalid state"); | 538 | nvgpu_pmu_dbg(g, "invalid state"); |