artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7a3e76
)
drm/ttm: Don't print error message if eviction was interrupted
author
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:55:47 +0000
(08:55 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 4 Aug 2023 08:55:47 +0000
(08:55 +0000)
From Thomas Hellstrom
3a8f9b8ccf2b34623cd7264cd78c80f8806959d5
in linux-6.1.y/6.1.43
8ab3b0663e279ab550bc2c0b5d602960e8b94e02
in mainline linux
sys/dev/pci/drm/ttm/ttm_bo.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/ttm/ttm_bo.c
b/sys/dev/pci/drm/ttm/ttm_bo.c
index
ca0d0bf
..
a7f5071
100644
(file)
--- a/
sys/dev/pci/drm/ttm/ttm_bo.c
+++ b/
sys/dev/pci/drm/ttm/ttm_bo.c
@@
-504,7
+504,8
@@
bounce:
if (ret == -EMULTIHOP) {
ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop);
if (ret) {
- pr_err("Buffer eviction failed\n");
+ if (ret != -ERESTARTSYS && ret != -EINTR)
+ pr_err("Buffer eviction failed\n");
ttm_resource_free(bo, &evict_mem);
goto out;
}