amdgpu: validate user memory for userptr
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 30 Nov 2015 06:08:07 +0000 (14:08 +0800)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 20 Jan 2016 01:14:46 +0000 (02:14 +0100)
commitf06c9928198d9348fb31325a2a480afbc29c04b8
tree28b520fc1c19656194714debce8535caf179f85e
parent50386e09dbdc6fd70d02efd1371d9ad061c8d447
amdgpu: validate user memory for userptr

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
amdgpu/amdgpu_bo.c