From patchwork Sun Mar 8 15:22:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 11425717 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4EDD1138D for ; Sun, 8 Mar 2020 15:40:14 +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 3766C206D7 for ; Sun, 8 Mar 2020 15:40:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3766C206D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=manjaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 22E1C6E2AF; Sun, 8 Mar 2020 15:40:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.manjaro.org (mail.manjaro.org [176.9.38.148]) by gabe.freedesktop.org (Postfix) with ESMTPS id C82B96E2AF for ; Sun, 8 Mar 2020 15:40:04 +0000 (UTC) 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thierry Reding , Tobias Schramm , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Thomas Gleixner , Brian Masney , Sam Ravnborg , Icenowy Zheng Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-)