aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/Makefile
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-01-21 17:49:59 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-01-22 10:42:21 -0500
commit5a1aa4b447868b0ea66d2903df479b3b94c34151 (patch)
tree62f7456d9e6f121646c390e7a20cd3adc55fe624 /drivers/gpu/drm/radeon/Makefile
parent308de41ba3bde80d50833718a2e37e49be868f5a (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/Makefile')
-rw-r--r--drivers/gpu/drm/radeon/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile
index f9dab1cb85ba..4605633e253b 100644
--- a/drivers/gpu/drm/radeon/Makefile
+++ b/drivers/gpu/drm/radeon/Makefile
@@ -80,9 +80,11 @@ radeon-y += radeon_device.o radeon_asic.o radeon_kms.o \
80 r600_dpm.o rs780_dpm.o rv6xx_dpm.o rv770_dpm.o rv730_dpm.o rv740_dpm.o \ 80 r600_dpm.o rs780_dpm.o rv6xx_dpm.o rv770_dpm.o rv730_dpm.o rv740_dpm.o \
81 rv770_smc.o cypress_dpm.o btc_dpm.o sumo_dpm.o sumo_smc.o trinity_dpm.o \ 81 rv770_smc.o cypress_dpm.o btc_dpm.o sumo_dpm.o sumo_smc.o trinity_dpm.o \
82 trinity_smc.o ni_dpm.o si_smc.o si_dpm.o kv_smc.o kv_dpm.o ci_smc.o \ 82 trinity_smc.o ni_dpm.o si_smc.o si_dpm.o kv_smc.o kv_dpm.o ci_smc.o \
83 ci_dpm.o dce6_afmt.o radeon_vm.o radeon_ucode.o radeon_ib.o radeon_mn.o \ 83 ci_dpm.o dce6_afmt.o radeon_vm.o radeon_ucode.o radeon_ib.o \
84 radeon_sync.o radeon_audio.o 84 radeon_sync.o radeon_audio.o
85 85
86radeon-$(CONFIG_MMU_NOTIFIER) += radeon_mn.o
87
86# add async DMA block 88# add async DMA block
87radeon-y += \ 89radeon-y += \
88 r600_dma.o \ 90 r600_dma.o \