]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: Fix use of interruptible waiting
authorAlex Xie <AlexBin.Xie@amd.com>
Wed, 26 Apr 2017 17:31:01 +0000 (13:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:09 +0000 (17:33 -0400)
commitcca7ecb32b5920f05bb940cbe01dde19c0125620
tree341c358bc0e549080c5a3ea775e9907d2ed4ab56
parenta6bef67e2abae4f19de8fb4ec34acb1df8156a75
drm/amdgpu: Fix use of interruptible waiting

Either in cgs functions or for callers of cgs functions:
1. The signal interrupt can affect the expected behaviour
2. There is no good mechanism to handle the corresponding error
3. There is no chance of deadlock in these single BO waiting
4. There is no clear benefit for interruptible waiting
5. Future caller of these functions might have same issue.

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