]> 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)
commit9dc9c3f7936ba14a2ddbabe91f3f47fbfb03d1b6
tree341c358bc0e549080c5a3ea775e9907d2ed4ab56
parent11a7c519cb410928a99b876a83f3789ebf606cd4
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