From patchwork Wed Sep 26 11:12:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10615727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D07BA13A4 for ; Wed, 26 Sep 2018 11:12:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B52F329EEC for ; Wed, 26 Sep 2018 11:12:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8A422A2C2; Wed, 26 Sep 2018 11:12:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A60529EEC for ; Wed, 26 Sep 2018 11:12:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B16E6E421; Wed, 26 Sep 2018 11:12:27 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id A8D946E421 for ; Wed, 26 Sep 2018 11:12:25 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id y13-v6so1861402wmi.1 for ; Wed, 26 Sep 2018 04:12:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=f6GHafH8921Z/rrXKkEEO2tnoTsAoBbX5EXzlT6UPRs=; b=kSc2SZtyiyBVmcSt2ToqIqeGUtVwH/yVd1MsPi2d8EvtgCtizC5sCHH2am04BR/LIQ naBUaYJ1bpN5BRdkVW7ga9/95UqRdsemzjzhUcHnqKGSp0a0rB5RJ0R5doKWuFpUGIWi /LN4NV237R+vOpfx+eWKKBStB8UB9oK5nKWsPWmGJjMCGQxxhKTaeQiqjuVRPrXdaHzu Q1A1VLqjfNzWjD+7sTdCUL6n5uz+FcsuWPZ3YEDqQJbEXklEvrbtM4lMOyxt+s4NlGSR 6OXYqgyImvod83dWX2jigI3rx18ipKr4F0Ks4ZnZb1ng1mGJOGZgxVxAZjp+gK2iX4cC 47oA== X-Gm-Message-State: ABuFfoim9QTq1Sr2LbdQeVEokZB0hD3Ip8R4/j2VUz1ZD0NDKClLL7AQ /vpkbdeg8DxBqmGEMHtfkepmzJtqVsI= X-Google-Smtp-Source: ACcGV60XX5K4vPyGVDzg7Xl/h7brXARWZ86yhIEqNmLjv99Q4YvlNCWfRAyewMK2m1lGAiIN8j3Rhg== X-Received: by 2002:a1c:4887:: with SMTP id v129-v6mr3759103wma.139.1537960344103; Wed, 26 Sep 2018 04:12:24 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id v6-v6sm4648171wro.66.2018.09.26.04.12.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 04:12:23 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 26 Sep 2018 12:12:17 +0100 Message-Id: <20180926111217.24130-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 Subject: [Intel-gfx] [PATCH] drm/i915: Log HWS seqno consistently X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin We mix hexa- and decimal which is confusing when reading the logs. So make the single odd one out instance decimal for consistency. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson --- Later we can consider whether we should move them all to unsigned, or hex, etc.. --- drivers/gpu/drm/i915/intel_lrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 4b28225320ff..ad93aa4b0a6e 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -1904,7 +1904,7 @@ static void execlists_reset(struct intel_engine_cs *engine, unsigned long flags; u32 *regs; - GEM_TRACE("%s request global=%x, current=%d\n", + GEM_TRACE("%s request global=%d, current=%d\n", engine->name, request ? request->global_seqno : 0, intel_engine_get_seqno(engine));