drm/radeon: allow userptr write access under certain conditions
authorChristian König <christian.koenig@amd.com>
Thu, 7 Aug 2014 07:36:04 +0000 (09:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Aug 2014 15:04:26 +0000 (11:04 -0400)
commitbd645e4314b95b21146aa6ff893d783de20c4e60
treef047909ba16d95245f7ed22f7c58e121ee51749c
parent341cb9e426fac32523427c80c67543a16be46605
drm/radeon: allow userptr write access under certain conditions

It needs to be anonymous memory (no file mappings)
and we are requried to install an MMU notifier.

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