diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-18 10:20:07 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-18 10:20:07 +0000 |
commit | 98ee31560eeee25180493354713c35c7e5c34a26 (patch) | |
tree | fae5ea40b85f7aad2288a604d39e80cc534c397d /sys/dev | |
parent | b5e489967ad1a112782f2a5fa0fd0dd27daa83d1 (diff) |
make the printf on skipping reset with gen7/gen8 debug only
With the 5.10 drm on vlv/ivb/hsw/bdw inteldrm has been known to reset
the chip when a gpu hang is falsely detected. This appears to be
related to the workarounds for cleaning up after switching hardware
contexts.
intel_gt_reset *NOTICE* [drm] Resetting chip for context closure in glsl-uniform-int<99177>
mark_guilty *NOTICE* [drm] glsl-uniform-int[97885] context reset due to GPU hang
A local change skips the reset (which kills Xorg) on gen7/gen8.
The printf is in that path.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915/gem/i915_gem_context.c | 4 |
1 files changed, 2 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 59442028bd7..6911bd863f4 100644 --- a/sys/dev/pci/drm/i915/gem/i915_gem_context.c +++ b/sys/dev/pci/drm/i915/gem/i915_gem_context.c @@ -549,11 +549,11 @@ static void kill_context(struct i915_gem_context *ctx) } /* - * XXX don't incorrectly reset chip on vlv/ivb/bdw cause unknown + * XXX don't incorrectly reset chip on vlv/ivb/hsw/bdw cause unknown */ if (IS_GEN_RANGE(ctx->i915, 7, 8)) { if (warn) { - printf("%s XXX skipping reset pos %p\n", __func__, pos); + DRM_DEBUG("%s XXX skipping reset pos %p\n", __func__, pos); warn = 0; } continue; |