]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix use of interruptible waiting
authorAlex Xie <AlexBin.Xie@amd.com>
Mon, 24 Apr 2017 19:33:16 +0000 (15:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:07 +0000 (17:33 -0400)
commit13c076d2b4762576dc7cd080d4e521f00810def2
tree8b8063eb39872ebc6b84f99e389a9240f02ee7f5
parent8e20c1dd07a1466a7763770e5c52ec50e4018b50
drm/amdgpu: Fix use of interruptible waiting

1. The signal interrupt can affect the expected behaviour.
2. There is no good mechanism to handle the corresponding error.
When signal interrupt happens, unpin is not called.
As a result, inside AMDGPU, the statistic of pin size will be wrong.

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_benchmark.c