projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b2a7d
)
drm/amdgpu: avoid drm error log during S3 on RHEL7.3
author
jimqu
<Jim.Qu@amd.com>
Thu, 20 Oct 2016 06:58:04 +0000
(14:58 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 21 Oct 2016 15:18:57 +0000
(11:18 -0400)
Signed-off-by: JimQu <Jim.Qu@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_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index
b0f6e69
..
82dc8d2
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@
-519,7
+519,8
@@
static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
r = ttm_eu_reserve_buffers(&p->ticket, &p->validated, true,
&duplicates);
if (unlikely(r != 0)) {
- DRM_ERROR("ttm_eu_reserve_buffers failed.\n");
+ if (r != -ERESTARTSYS)
+ DRM_ERROR("ttm_eu_reserve_buffers failed.\n");
goto error_free_pages;
}