]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only emit the 'send bug report' once for a GPU hang
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 07:58:21 +0000 (08:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 11:39:45 +0000 (12:39 +0100)
commit6ecc73cfc53fb665585e425ef941ba037f86f046
tree1031bb4e5953dbabf9a0783ca197788615673e1c
parent54775349f13d323738868b4b5af0889188e7f0cf
drm/i915: Only emit the 'send bug report' once for a GPU hang

Use a locked xchg to ensure that the global log message giving
instructions on how to send a bug report is emitted precisely once.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819075835.20065-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c