drm/radeon: add userptr config option
authorChristian König <christian.koenig@amd.com>
Tue, 31 Mar 2015 15:36:59 +0000 (17:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2015 15:17:58 +0000 (11:17 -0400)
This allows selecting CONFIG_MMU_NOTIFIER if it isn't already selected.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/Kconfig

index 970f8e92dbb79bf5e954a8d917e7d4fbc46629cc..421ae130809b12576e6c526c686a4a2d825c029c 100644 (file)
@@ -1,3 +1,11 @@
+config DRM_RADEON_USERPTR
+       bool "Always enable userptr support"
+       depends on DRM_RADEON
+       select MMU_NOTIFIER
+       help
+         This option selects CONFIG_MMU_NOTIFIER if it isn't already
+         selected to enabled full userptr support.
+
 config DRM_RADEON_UMS
        bool "Enable userspace modesetting on radeon (DEPRECATED)"
        depends on DRM_RADEON