* [Intel-gfx] [PATCH xf86-video-intel] sna: Dump fences also on -ENOBUFS
@ 2021-07-12 7:49 Ville Syrjala
2021-07-12 9:57 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for " Patchwork
0 siblings, 1 reply; 2+ messages in thread
From: Ville Syrjala @ 2021-07-12 7:49 UTC (permalink / raw)
To: intel-gfx
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Since kernel commit 78d2ad7eb4e1 ("drm/i915/gt: Fix
-EDEADLK handling regression") running out of fences
will result in -ENOBUFS instead of -EDEADLK (the latter
having been stolen by ww mutextes for their internal use).
Adjust the fence dumping to expect either errno value.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
src/sna/kgem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 7b645da8da5f..ac0b61d54ec8 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4263,7 +4263,7 @@ void _kgem_submit(struct kgem *kgem)
if (ret == -ENOSPC)
dump_gtt_info(kgem);
- if (ret == -EDEADLK)
+ if (ret == -EDEADLK || ret == -ENOBUFS)
dump_fence_regs(kgem);
if (DEBUG_SYNC) {
--
2.31.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-gfx] ✗ Fi.CI.BUILD: failure for sna: Dump fences also on -ENOBUFS
2021-07-12 7:49 [Intel-gfx] [PATCH xf86-video-intel] sna: Dump fences also on -ENOBUFS Ville Syrjala
@ 2021-07-12 9:57 ` Patchwork
0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2021-07-12 9:57 UTC (permalink / raw)
To: Ville Syrjala; +Cc: intel-gfx
== Series Details ==
Series: sna: Dump fences also on -ENOBUFS
URL : https://patchwork.freedesktop.org/series/92431/
State : failure
== Summary ==
Applying: sna: Dump fences also on -ENOBUFS
error: sha1 information is lacking or useless (src/sna/kgem.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 sna: Dump fences also on -ENOBUFS
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-12 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 7:49 [Intel-gfx] [PATCH xf86-video-intel] sna: Dump fences also on -ENOBUFS Ville Syrjala
2021-07-12 9:57 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).