]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu_bo_unreserve order in GEM_OP IOCTL v2
authorChristian König <christian.koenig@amd.com>
Fri, 28 Aug 2015 15:27:54 +0000 (17:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Sep 2015 16:19:53 +0000 (12:19 -0400)
commitc70b34ebfd8c7cf0e262a50c48f0323aeb65fbd0
tree1694d3c5540f8133bb7a8bfa1a78edafb289c710
parentc920d42468a06ffc7b0a90742e1189be3690611f
drm/amdgpu: fix amdgpu_bo_unreserve order in GEM_OP IOCTL v2

No copy_(to|from)_user while BO is reserved.

v2: handle default path as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c