]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commita1e37b0259e77b1db2ff2636059cd513971ca7fa
tree1031bb4e5953dbabf9a0783ca197788615673e1c
parentd67739268cf0ee928cdc5e8224090c59efacd653
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