]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Fix use of interruptible waiting
authorAlex Xie <AlexBin.Xie@amd.com>
Mon, 24 Apr 2017 17:30:43 +0000 (13:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:05 +0000 (17:33 -0400)
commit8ab25b4f51ffd2f859afaffa191d50a1eda4128f
treee91152d36dd95002d074a6d72aa4dba60d233199
parente6b9a6c84b936e61f1ccff779494f3bd38775503
drm/amdgpu: Fix use of interruptible waiting

If amdgpu_bo_reserve function is interrupted by signal,
amdgpu_bo_kunmap function is not called.

Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c