]> git.baikalelectronics.ru Git - kernel.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)
commit489c074e3b86026c8376f45ea01b2f073ccdb9cf
treee91152d36dd95002d074a6d72aa4dba60d233199
parent1e39ca9142c74dc925635c78c809c33c8fdba2da
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