gpu: nvgpu: Init clock debugfs after clock support

Initialized GK20A clock debugfs after clock support
hardware and software are ready.

Bug 1450787

Change-Id: I8ec2ef303a84b9151b7ce209a1864f1729382a44
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/440973
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
This commit is contained in:
Alex Frid
2014-07-22 18:28:43 -07:00
committed by Dan Willemsen
parent 10571e9db7
commit b972f8d15e
4 changed files with 13 additions and 9 deletions

View File

@@ -1502,8 +1502,6 @@ static int gk20a_probe(struct platform_device *dev)
gk20a_create_sysfs(dev);
#ifdef CONFIG_DEBUG_FS
clk_gk20a_debugfs_init(dev);
spin_lock_init(&gk20a->debugfs_lock);
gk20a->mm.ltc_enabled = true;
gk20a->mm.ltc_enabled_debug = true;