diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-28 13:49:06 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-16 16:34:56 -0400 |
commit | 30b9cbe35a2a0adc4e3a65b033dc0f61046783ea (patch) | |
tree | 3abdb453042d3632ade9f4cede81886d7ecc70e4 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7685f60d9dd6ed062f3037d4e72ea124c103d211 (diff) |
gpu: nvgpu: Remove bios_blob debugfs
linux/debugfs.h was included in gk20a.h because of the debugfs entry
bios_blob, which can be used for checking contents of VBIOS. That
has never been used, so instead of abstracting it, this patch removes
the feature altogether.
Two files were using debugfs but did not #include <linux/debugfs.h>.
They failed to build now that gk20a.h no longer #includes it, so
added explit #include.
JIRA NVGPU-259
Change-Id: Ie1ea9be1a8920441b1616f34e64e505e6e10e38c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1570404
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b6f6a97b..8efb009a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -45,9 +45,6 @@ struct nvgpu_mem_sgt; | |||
45 | #include <nvgpu/lock.h> | 45 | #include <nvgpu/lock.h> |
46 | #include <nvgpu/thread.h> | 46 | #include <nvgpu/thread.h> |
47 | #include <nvgpu/io.h> | 47 | #include <nvgpu/io.h> |
48 | #ifdef CONFIG_DEBUG_FS | ||
49 | #include <linux/debugfs.h> | ||
50 | #endif | ||
51 | 48 | ||
52 | #include <nvgpu/as.h> | 49 | #include <nvgpu/as.h> |
53 | #include <nvgpu/log.h> | 50 | #include <nvgpu/log.h> |
@@ -1239,9 +1236,6 @@ struct gk20a { | |||
1239 | u32 tpc_fs_mask_user; | 1236 | u32 tpc_fs_mask_user; |
1240 | 1237 | ||
1241 | struct nvgpu_bios bios; | 1238 | struct nvgpu_bios bios; |
1242 | #ifdef CONFIG_DEBUG_FS | ||
1243 | struct debugfs_blob_wrapper bios_blob; | ||
1244 | #endif | ||
1245 | bool bios_is_init; | 1239 | bool bios_is_init; |
1246 | 1240 | ||
1247 | struct nvgpu_clk_arb *clk_arb; | 1241 | struct nvgpu_clk_arb *clk_arb; |