From: Chris Wilson Date: Sun, 9 Feb 2020 13:19:16 +0000 (+0000) Subject: drm/i915/execlists: Ignore tracek for nop process_csb X-Git-Tag: baikal/mips/sdk5.9~13997^2~18^2~117 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=a25fe5bac01ebe52c0f60b5a6534a623ddf61ce8;p=kernel.git drm/i915/execlists: Ignore tracek for nop process_csb Recording the frequent inspection of CSB head/tail when there is expected to be no update adds noise to the debug trace. (Not entirely useless, but since we know the sequence of function calls, we can surmise the function was called -- so redundant.) Signed-off-by: Chris Wilson Cc: Mika Kuoppala Reviewed-by: Mika Kuoppala Link: https://patchwork.freedesktop.org/patch/msgid/20200209131922.180287-2-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c index 21385070ad15e..230470c58ec96 100644 --- a/drivers/gpu/drm/i915/gt/intel_lrc.c +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c @@ -2248,7 +2248,6 @@ static void process_csb(struct intel_engine_cs *engine) */ head = execlists->csb_head; tail = READ_ONCE(*execlists->csb_write); - ENGINE_TRACE(engine, "cs-irq head=%d, tail=%d\n", head, tail); if (unlikely(head == tail)) return; @@ -2262,6 +2261,7 @@ static void process_csb(struct intel_engine_cs *engine) */ rmb(); + ENGINE_TRACE(engine, "cs-irq head=%d, tail=%d\n", head, tail); do { bool promote;