From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 552EFC433F5 for ; Wed, 6 Oct 2021 16:51:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 204116103E for ; Wed, 6 Oct 2021 16:51:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 204116103E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 90FC56EDBB; Wed, 6 Oct 2021 16:51:51 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 53AC56EDD2 for ; Wed, 6 Oct 2021 16:51:50 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="224816735" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="224816735" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 09:48:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="439185065" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga006.jf.intel.com with SMTP; 06 Oct 2021 09:48:19 -0700 Received: by stinkbox (sSMTP sendmail emulation); Wed, 06 Oct 2021 19:48:18 +0300 Date: Wed, 6 Oct 2021 19:48:18 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Imre Deak Cc: intel-gfx@lists.freedesktop.org Message-ID: References: <20211004170535.4173-1-ville.syrjala@linux.intel.com> <20211004170535.4173-5-ville.syrjala@linux.intel.com> <20211006160902.GD3025323@ideak-desk.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211006160902.GD3025323@ideak-desk.fi.intel.com> X-Patchwork-Hint: comment Subject: Re: [Intel-gfx] [PATCH v2 4/5] drm/i915: Pimp link training debug prints X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, Oct 06, 2021 at 07:09:02PM +0300, Imre Deak wrote: > On Mon, Oct 04, 2021 at 08:05:34PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Unify all debug prints during link training to include information > > on both the encoder and the LTTPR. We unify the format to something > > like "[ENCODER:1:FOO][LTTPR 1] Something something". Though not > > sure if those brackets around the dp_phy just make it look like > > line noise? I'll accept suggestions on better formatting. > > > > I'm slightly on the fence about also including the connector, > > but technically only the DPRX is the SST connector (ie. > > intel_dp->attached_connector). I suppose you could think of it > > as the branch device/whatever in the topology, and we're training > > the link leading to it. So that could argue for its inclusion. > > But it's all getting a bit long alrady, so not going to do it > > I think. > > Imo including the connector info eventually would be good to be able to > match these lines with those only showing the connector, or connectors > in i915_display_info etc. You're probably right. I was just looking at a dmesg wondering which connector it's training there... Although with MST it of course doesn't match up with anything that the user thinks as a connected connector. So a bit annoying. And using a single MST connector wouldn't really lead to a coherent debug message either since there could be many MST connectors active on the same link :/ -- Ville Syrjälä Intel