]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only show debug for state changes when banning
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Jun 2018 07:31:35 +0000 (08:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Jun 2018 13:43:47 +0000 (14:43 +0100)
commit7161d3b94b4e85a96595e3ab44a6c263ad8215d9
tree4c30e3bd710c6c073fe4f789bceda8337484683a
parentd51a924d42f0335f051e9a507396b248392ecc95
drm/i915: Only show debug for state changes when banning

Since we trigger 10,000s of hangs and resets during selftesting, we emit
many, many thousands of lines of useless debug messages. Reduce the
frequency by only logging a change in state of a guilty context.

Fixes: 3c72833bec98 ("drm/i915: Fix context ban and hang accounting for client")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180618073135.10849-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c