summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/Kconfig
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-03-30 14:42:57 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-05-02 15:26:57 -0400
commita1d29476d666f5972f200c49e76df339ced6b07a (patch)
tree5ff8bfcc92cc9a4e2bf3f9d04f5dcc01fffad6df /drivers/gpu/drm/amd/amdgpu/Kconfig
parent4325198180e5aeff21f44ba32c9ec18d9dd3ba72 (diff)
downloadop-kernel-dev-a1d29476d666f5972f200c49e76df339ced6b07a.zip
op-kernel-dev-a1d29476d666f5972f200c49e76df339ced6b07a.tar.gz
drm/amdgpu: optionally enable GART debugfs file
Keeping the pages array around can use a lot of system memory when you want a large GART. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/Kconfig')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig
index b30fcfa..7335c04 100644
--- a/drivers/gpu/drm/amd/amdgpu/Kconfig
+++ b/drivers/gpu/drm/amd/amdgpu/Kconfig
@@ -15,3 +15,13 @@ config DRM_AMDGPU_USERPTR
help
This option selects CONFIG_MMU_NOTIFIER if it isn't already
selected to enabled full userptr support.
+
+config DRM_AMDGPU_GART_DEBUGFS
+ bool "Allow GART access through debugfs"
+ depends on DRM_AMDGPU
+ depends on DEBUG_FS
+ default n
+ help
+ Selecting this option creates a debugfs file to inspect the mapped
+ pages. Uses more memory for housekeeping, enable only for debugging.
+
OpenPOWER on IntegriCloud