artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f0cde
)
drm/i915/gt: Skip TLB invalidations once wedged
author
jsg
<jsg@openbsd.org>
Mon, 5 Sep 2022 14:06:39 +0000
(14:06 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 5 Sep 2022 14:06:39 +0000
(14:06 +0000)
From Chris Wilson
4676773ea117624ced48fdf9806d5e0dc051bd7f
in linux 5.15.y/5.15.65
e5a95c83ed1492c0f442b448b20c90c8faaf702b
in mainline linux
sys/dev/pci/drm/i915/gt/intel_gt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gt/intel_gt.c
b/sys/dev/pci/drm/i915/gt/intel_gt.c
index
ebeb02a
..
810d138
100644
(file)
--- a/
sys/dev/pci/drm/i915/gt/intel_gt.c
+++ b/
sys/dev/pci/drm/i915/gt/intel_gt.c
@@
-953,6
+953,9
@@
void intel_gt_invalidate_tlbs(struct intel_gt *gt)
if (I915_SELFTEST_ONLY(gt->awake == -ENODEV))
return;
+ if (intel_gt_is_wedged(gt))
+ return;
+
if (GRAPHICS_VER(i915) == 12) {
regs = gen12_regs;
num = ARRAY_SIZE(gen12_regs);