diff options
| author | Christian König <christian.koenig@amd.com> | 2016-03-30 14:42:57 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-02 15:26:57 -0400 |
| commit | a1d29476d666f5972f200c49e76df339ced6b07a (patch) | |
| tree | 5ff8bfcc92cc9a4e2bf3f9d04f5dcc01fffad6df /drivers/gpu/drm/amd/amdgpu/Kconfig | |
| parent | 4325198180e5aeff21f44ba32c9ec18d9dd3ba72 (diff) | |
| download | blackbird-obmc-linux-a1d29476d666f5972f200c49e76df339ced6b07a.tar.gz blackbird-obmc-linux-a1d29476d666f5972f200c49e76df339ced6b07a.zip | |
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/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig index b30fcfa4b1f2..7335c0420c70 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. + |

