diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-10-02 14:26:06 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-10-02 14:26:06 +0000 |
commit | b36f6c1af3e442cc9a2728d5b64510c0aeddc956 (patch) | |
tree | 4243fc367c11cc658f91e8275b3d665ea87bc23f /sys/dev | |
parent | 21bfc45bc808acaec2663e295cdbcd9597da961b (diff) |
Extend workaround for reset on context closure from gen 7-8 to gen 4-8
as asavvycomputist@disroot.org reported this occurs on gm45 (gen 4).
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915/gem/i915_gem_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 6911bd863f4..821f0e86f05 100644 --- 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; |