]> git.baikalelectronics.ru Git - kernel.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)
commit0385da4a20bb336f19bd56d8557941a2d1807372
tree341c358bc0e549080c5a3ea775e9907d2ed4ab56
parentb052916151f2505b93cdf4ae17967c404b8febe2
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