summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 226b5ae3..5dda7d74 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -798,6 +798,7 @@ static int gk20a_pm_finalize_poweron(struct device *dev)
798{ 798{
799 struct platform_device *pdev = to_platform_device(dev); 799 struct platform_device *pdev = to_platform_device(dev);
800 struct gk20a *g = get_gk20a(pdev); 800 struct gk20a *g = get_gk20a(pdev);
801 struct gk20a_platform *platform = gk20a_get_platform(pdev);
801 int err, nice_value; 802 int err, nice_value;
802 803
803 gk20a_dbg_fn(""); 804 gk20a_dbg_fn("");
@@ -939,7 +940,7 @@ static int gk20a_pm_finalize_poweron(struct device *dev)
939 940
940 trace_gk20a_finalize_poweron_done(dev_name(dev)); 941 trace_gk20a_finalize_poweron_done(dev_name(dev));
941 942
942 if (IS_ENABLED(CONFIG_GK20A_CDE)) 943 if (platform->has_cde)
943 gk20a_init_cde_support(g); 944 gk20a_init_cde_support(g);
944 945
945#ifdef CONFIG_INPUT_CFBOOST 946#ifdef CONFIG_INPUT_CFBOOST