Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1608762ybh; Sun, 8 Mar 2020 08:26:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvCjuogHZIMz+KxnlavYTsRBjPr5ga1fIonRwrSeCLaCYaDdjFgmakfbBzfjxmhTF+xX159 X-Received: by 2002:aca:cccb:: with SMTP id c194mr8558974oig.15.1583681216400; Sun, 08 Mar 2020 08:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583681216; cv=none; d=google.com; s=arc-20160816; b=ClvBRaLij/lqoEfDeFFfCnYt6I1h6bMnGuaT6DxZeG6kXvXcWmyLILWCOtlN6LNNhJ uNRu5X9mvnC+LB71rydnrmXdLM+1BBa6uCJHXeAD+oOoI1Vo3+mM2sauv0ZWVlc7cIxD kh/O2xaEG9TkO6YUzh5TyzLX0nDhTajaOkIsahjDQi8g9/c9LGpAljYrHUj5I0+dnUNy 2puvXsMBzFzR1Xp+2AWw/B50hB+Q/ynLbEsQkSIQHNH4Tt6iuvGIEjvQ47R2/p7rcC92 59q3F/6YnNok3jIBIR53iznWHvVCs4lZ3VUnOkUWyuFJeiRNl/NKAvRxF2uF4MtTyLns uR/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=at+yP+mFujMz6AFoqyByQwJp2ro3OCU+SWnhL1CwoSw=; b=0Cm+f5UUnP3ULbgoMJuTV4uQaOD7PCNIpQModKCL4JnxY3nrGM17fnqCgCkjXvJ6k5 X9DNQrZte3c3qG2TJgroMbjEfhdYeuvN8IFSUrJeMoFJ4GdRrOlXEfJQroOCd58NRlmM dxpCdQ6GfX0t+jeRorTA8Uji2lhJOokZCud2qD5mzzwE2ajaiWvHef4IWJEwh2IfYH6p k+Dxc45LiONur2lhP5tkuVfOgWMQu1+kumYoKQIJyQLnwaGkDy5yns4e1NuFZjopEspn 8qq1DjgJ7HwBzKoOzMJbI5bEpWN89dVyNsz+LzGhN2VC5q8CquAh5ki52a/SWHicejHg rXAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v137si2750825oif.170.2020.03.08.08.26.44; Sun, 08 Mar 2020 08:26:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726291AbgCHPWv (ORCPT + 99 others); Sun, 8 Mar 2020 11:22:51 -0400 Received: from mail.manjaro.org ([176.9.38.148]:48390 "EHLO mail.manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbgCHPWu (ORCPT ); Sun, 8 Mar 2020 11:22:50 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id 98ED437A1C4E; Sun, 8 Mar 2020 16:22:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5tXGCKXIUL-q; Sun, 8 Mar 2020 16:22:47 +0100 (CET) From: Tobias Schramm To: Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter Cc: Brian Masney , Linus Walleij , Maxime Ripard , Icenowy Zheng , Thomas Gleixner , Sam Ravnborg , Thierry Reding , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH v2 0/1] Regression in analogix_anx78xx Date: Sun, 8 Mar 2020 16:22:37 +0100 Message-Id: <20200308152238.1294229-1-t.schramm@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit ff1e8fb68ea0 ("drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers") stores the max link rate in a u8, overflowing it. This will probably prevent the link training from working. I've not tested this patch beyond a simple compile test since I do not own any devices containing an anx78xx. So please test! Best regards, Tobias Changelog: v2: Skip forward and back conversion to/from link rate Tobias Schramm (1): drm/bridge: anx78xx: fix calculation of dp link rate drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.24.1