]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only dump GPU state on set-wedged if interesting
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Jan 2019 12:20:57 +0000 (12:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Jan 2019 14:09:08 +0000 (14:09 +0000)
commit046719134dfd92d8d3c8c158fc3e475cae500600
tree0ecf9d00d592a46842333ebf7acd050dc001a475
parent80d3873cdd52f485b5b1565635e994d582174dda
drm/i915: Only dump GPU state on set-wedged if interesting

As we may frequently mark the device as wedged to flush requests off it
during the normal course of events, quite often we have a large state
dump that is of no interest. Don't bother dumping it all if the engines
are all idle.

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