projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6901d
)
drm/amdgpu: Fix use of interruptible waiting
author
Alex Xie
<
[email protected]
>
Mon, 24 Apr 2017 17:53:04 +0000
(13:53 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 28 Apr 2017 21:33:06 +0000
(17:33 -0400)
1. The signal interrupt can affect the expected behaviour.
2. There is no good mechanism to handle the corresponding error.
Signed-off-by: Alex Xie <
[email protected]
>
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 3f01c4b92280d53da08f48f6ece3d796abcd54fc..234d90a1248244e91536ecb649b829e501eb6463 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@
-2423,7
+2423,7
@@
static int amdgpu_recover_vram_from_shadow(struct amdgpu_device *adev,
if (!bo->shadow)
return 0;
- r = amdgpu_bo_reserve(bo,
fals
e);
+ r = amdgpu_bo_reserve(bo,
tru
e);
if (r)
return r;
domain = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type);