diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 7a62f05c..7878e1e2 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -2345,7 +2345,7 @@ int gk20a_init_pmu_support(struct gk20a *g) | |||
2345 | if (err) | 2345 | if (err) |
2346 | return err; | 2346 | return err; |
2347 | 2347 | ||
2348 | if (support_gk20a_pmu()) { | 2348 | if (support_gk20a_pmu(g->dev)) { |
2349 | err = gk20a_init_pmu_setup_sw(g); | 2349 | err = gk20a_init_pmu_setup_sw(g); |
2350 | if (err) | 2350 | if (err) |
2351 | return err; | 2351 | return err; |
@@ -3665,7 +3665,7 @@ int gk20a_pmu_destroy(struct gk20a *g) | |||
3665 | 3665 | ||
3666 | gk20a_dbg_fn(""); | 3666 | gk20a_dbg_fn(""); |
3667 | 3667 | ||
3668 | if (!support_gk20a_pmu()) | 3668 | if (!support_gk20a_pmu(g->dev)) |
3669 | return 0; | 3669 | return 0; |
3670 | 3670 | ||
3671 | /* make sure the pending operations are finished before we continue */ | 3671 | /* make sure the pending operations are finished before we continue */ |