diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 698211ec..921ee6f8 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |||
@@ -718,9 +718,6 @@ void gk20a_ce_debugfs_init(struct device *dev) | |||
718 | struct gk20a_platform *platform = dev_get_drvdata(dev); | 718 | struct gk20a_platform *platform = dev_get_drvdata(dev); |
719 | struct gk20a *g = get_gk20a(dev); | 719 | struct gk20a *g = get_gk20a(dev); |
720 | 720 | ||
721 | if (!platform->has_ce) | ||
722 | return; | ||
723 | |||
724 | debugfs_create_u32("ce_app_ctx_count", S_IWUSR | S_IRUGO, | 721 | debugfs_create_u32("ce_app_ctx_count", S_IWUSR | S_IRUGO, |
725 | platform->debugfs, &g->ce_app.ctx_count); | 722 | platform->debugfs, &g->ce_app.ctx_count); |
726 | debugfs_create_u32("ce_app_state", S_IWUSR | S_IRUGO, | 723 | debugfs_create_u32("ce_app_state", S_IWUSR | S_IRUGO, |