]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Repeat the GEM_BUG_ON message in the ftrace log
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Feb 2018 21:18:16 +0000 (21:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 28 Feb 2018 09:31:57 +0000 (09:31 +0000)
commit5bc2f604e07eefc8f099f4069dfda6042e53ea0a
treee27d1e7bc9a117f4f3f3ff5ad25a347839f9d168
parentfd83ac9e28ef8374e9fe8005d147771cf515d3af
drm/i915: Repeat the GEM_BUG_ON message in the ftrace log

As the ftrace log is overflowing the pstore capture, we lose the last
gasps from dmesg which includes the GEM_BUG_ON function:line and condition
that failed. Vital information for tracking down the bug, so append it to
the frace log as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180227211816.5546-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.h