diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Kconfig.nvgpu | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig.nvgpu b/drivers/gpu/nvgpu/Kconfig.nvgpu index 3e3607e0..8baf6897 100644 --- a/drivers/gpu/nvgpu/Kconfig.nvgpu +++ b/drivers/gpu/nvgpu/Kconfig.nvgpu | |||
@@ -47,6 +47,17 @@ config GK20A_DEVFREQ | |||
47 | 47 | ||
48 | endchoice | 48 | endchoice |
49 | 49 | ||
50 | config NVGPU_TRACK_MEM_USAGE | ||
51 | bool "Track the usage of system memory in nvgpu" | ||
52 | depends on GK20A | ||
53 | default n | ||
54 | help | ||
55 | Say Y here to allow nvgpu to track and keep statistics on | ||
56 | the system memory used by the driver. This does recreate | ||
57 | some of the kmem_leak tracking but this is also applicable | ||
58 | to other OSes which do not have Linux' kmem_leak. | ||
59 | |||
60 | |||
50 | config GK20A_CYCLE_STATS | 61 | config GK20A_CYCLE_STATS |
51 | bool "Support GK20A GPU CYCLE STATS" | 62 | bool "Support GK20A GPU CYCLE STATS" |
52 | depends on GK20A | 63 | depends on GK20A |