summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-12-06 04:33:08 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-12-21 11:45:59 -0500
commit145225b896bd43a918280de27260ba5a315751c8 (patch)
tree5eb9bfba7eff0aa808d66cce81abf19924a3f054 /drivers/gpu/nvgpu/gm20b/gr_gm20b.h
parent34d8421ab4e9ecd0af09f7fefe71b9a1d8781061 (diff)
gpu: nvgpu: remove clk writel from TPC FS
To floorsweep any TPC on gm20b, we first have to set BIT(28) in CLK_RST_CONTROLLER_MISC_CLK_ENB_0 from nvgpu driver But now this bit is set by default from clock driver, hence remove clk_writel() from nvgpu driver Bug 200262155 Change-Id: I65bc60cb017109bdb882d83637f2a06d27586f18 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1265752 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
index fd24d105..84eb3862 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
@@ -28,12 +28,6 @@ enum {
28 MAXWELL_CHANNEL_GPFIFO_A= 0xB06F, 28 MAXWELL_CHANNEL_GPFIFO_A= 0xB06F,
29}; 29};
30 30
31#define tegra_clk_writel(value, offset) \
32 writel(value, IO_ADDRESS(0x60006000 + offset))
33
34#define CLK_RST_CONTROLLER_MISC_CLK_ENB_0 0x48
35#define CLK_RST_CONTROLLER_MISC_CLK_ENB_0_ALL_VISIBLE BIT(28)
36
37#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) 31#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
38#define FUSE_FUSEBYPASS_0 0x24 32#define FUSE_FUSEBYPASS_0 0x24
39#define FUSE_WRITE_ACCESS_SW_0 0x30 33#define FUSE_WRITE_ACCESS_SW_0 0x30