drm/radeon: make MMU_NOTIFIER optional
authorRob Clark <robdclark@gmail.com>
Wed, 21 Jan 2015 22:49:59 +0000 (17:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:42:21 +0000 (10:42 -0500)
commit5a1aa4b447868b0ea66d2903df479b3b94c34151
tree62f7456d9e6f121646c390e7a20cd3adc55fe624
parent308de41ba3bde80d50833718a2e37e49be868f5a
drm/radeon: make MMU_NOTIFIER optional

In cases where MMU_NOTIFIER is not available, userptr will not be
available.  Similar to i915, although not making an exception for
CAP_SYS_ADMIN.

The proposed userspace patches for userptr seem to handle the fall-
back properly, so a userptr-less kernel should not be a problem.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/radeon.h