]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Manually dump the debug trace on GEM_BUG_ON
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2019 10:09:13 +0000 (10:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2019 17:44:39 +0000 (17:44 +0000)
commite8485331824603cd11bce6f7db514e0b72a49d19
tree8c54a023d78f79b45960c7257ee32d89ceed2e52
parentda1bee4eb7aa830d7f6d7f1a9cc865f073a00eb1
drm/i915/gem: Manually dump the debug trace on GEM_BUG_ON

Since igt now defaults to not enabling ftrace-on-oops, we need to
manually invoke GEM_TRACE_DUMP() to see the debug log prior to a
GEM_BUG_ON panicking.

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