artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc491ec
)
Extend workaround for reset on context closure from gen 7-8 to gen 4-8
author
jsg
<jsg@openbsd.org>
Sat, 2 Oct 2021 14:26:05 +0000
(14:26 +0000)
committer
jsg
<jsg@openbsd.org>
Sat, 2 Oct 2021 14:26:05 +0000
(14:26 +0000)
as asavvycomputist@disroot.org reported this occurs on gm45 (gen 4).
sys/dev/pci/drm/i915/gem/i915_gem_context.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gem/i915_gem_context.c
b/sys/dev/pci/drm/i915/gem/i915_gem_context.c
index
6911bd8
..
821f0e8
100644
(file)
--- a/
sys/dev/pci/drm/i915/gem/i915_gem_context.c
+++ b/
sys/dev/pci/drm/i915/gem/i915_gem_context.c
@@
-549,9
+549,10
@@
static void kill_context(struct i915_gem_context *ctx)
}
/*
- * XXX don't incorrectly reset chip on vlv/ivb/hsw/bdw cause unknown
+ * XXX don't incorrectly reset chip on
+ * gm45/vlv/ivb/hsw/bdw cause unknown
*/
- if (IS_GEN_RANGE(ctx->i915,
7
, 8)) {
+ if (IS_GEN_RANGE(ctx->i915,
4
, 8)) {
if (warn) {
DRM_DEBUG("%s XXX skipping reset pos %p\n", __func__, pos);
warn = 0;