OSDN Git Service

drm/i915: Squelch nop wait-for-idle trace
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Jul 2019 09:12:18 +0000 (10:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Jul 2019 16:20:19 +0000 (17:20 +0100)
commit14f8a0eb02531bdeca723af123be3e20c4aa1045
tree143958515450be4c8dada744436afbe5d6cb8ee2
parentd8bf0e7627e6e887bd0ed3707216e0e69ec95710
drm/i915: Squelch nop wait-for-idle trace

If the system is already idle, omit the GEM_TRACE saying we are about to
wait for idle. It looks confusing in the logs to see a continual stream
of wait-for-idle, as one immediately assumes it is stuck in a loop.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723091218.5886-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c