video:tegra:gk20a: add debugfs switch for L2 cache
authorKirill Artamonov <kartamonov@nvidia.com>
Wed, 10 Jul 2013 00:35:25 +0000 (17:35 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:10 +0000 (13:33 -0700)
commitdf2129d497a03e8e1a42dd8e60df6e10b4d3df7e
tree7f130878b03c3ab59f265c75094a4f1b43462d3b
parent57c6a08b1a733cf8e6bb28817b7c56cb0adb82f0
video:tegra:gk20a: add debugfs switch for L2 cache

Add debugfs boolean /d/gk20a/ltc_enabled
to disable or enable L2 cache of gk20a.

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: I2ce30c592a4775e7cab92ed34b3c4476bb7a1560
Reviewed-on: http://git-master/r/246927
(cherry picked from commit 7edd25eb707767b9bf94a6de5bdf3855b266535e)
Reviewed-on: http://git-master/r/251691
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/host/gk20a/channel_gk20a.c
drivers/video/tegra/host/gk20a/gk20a.c
drivers/video/tegra/host/gk20a/gk20a.h
drivers/video/tegra/host/gk20a/hw_ltc_gk20a.h
drivers/video/tegra/host/gk20a/mm_gk20a.h