Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1648075pxy; Mon, 2 Aug 2021 07:03:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgi2t+GWog/dZiPfDAQsibLgqYEeBTGKGGGIapbJAxiCP6l2FB8l2C/Rzt+H1l1z6uSpJH X-Received: by 2002:a05:6402:b72:: with SMTP id cb18mr19134977edb.290.1627912996191; Mon, 02 Aug 2021 07:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627912996; cv=none; d=google.com; s=arc-20160816; b=T2c1dnBHBD+c77ZIabkwbD5TwMd6U26DMPvwkayfIO8dCV70u5/+EbeiSElgOM84iO SY0KT3UU4uW0vOLtTRCtsKA9RpffLH/uzg5mkKPzp+Yv1UV4rDL1KJ0dAyWr0Ov2qGpy Qt1AmoWrodwn5G1whDA5vvgLJEoPfEqYnStlT38rWs2Unc1nVha0eBOdla1IxNdx92fL eKmYJbWoG91KhBedSi2v670ruifEd0cpgPjTQHCFUMR3cM8bpLvHTUZv04Dh43hZXZnH 8bX5E1jf06H0F2347cQVKW08p6Uafrg/A+MeOK4lijXr28Xurz1XPx6GeL9Lvox5k9a6 SzUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AT7lSs3TqdtHkPywThy8lywcamxgVeJpu2wmhsgVcv4=; b=Mln+e/Vjz9GTSH81QYADiHOUj2Ob8Ebrs8aKUz4dNLql8Cw0R8z2u6o5+TdBYopFcp luVePKYhDkqp5fxXQsh691zx6aiBuDPlrnelukLhcyVErVXPn80knZfskP41YwvZKEa7 aokWPm1Plg0f3/SFlWIS8My/m1g+/0rE9vXr1ak5II3v+G4812VUDm2jR7gnC9djO+2N uFXL+rhHvp1MJv3XRxgDZA2Briin6njKikfRbBykrLotFTreCIGlNAjkrTzHsn5NvC8r a4SMLgFjWShH8C3qAR0ypRCMVf7Od6zVXpXVk23rbqi1o7MhPz+7MzZKlL1FNdsLP5Mx H/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="UG/XHiWz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd12si9065595ejc.121.2021.08.02.07.02.52; Mon, 02 Aug 2021 07:03:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="UG/XHiWz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235009AbhHBOBf (ORCPT + 99 others); Mon, 2 Aug 2021 10:01:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:40308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236219AbhHBNzJ (ORCPT ); Mon, 2 Aug 2021 09:55:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3EB6E6117A; Mon, 2 Aug 2021 13:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627912419; bh=5RuXNqgjEmhkTK80IcY3+uVcJLZlcJw8MTVEstNlzjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UG/XHiWzEBSW481NXqDrYdeuxaCTnjkuqOYgtd/4LdyZl67tLMYVvizdq8Z/1cAZC cFDWH1H5vs8dz0pndTonwadHXpiTWhTrFtkTP7WgCCYqvrGB0haj63ntDW/D/gFvyx DeCI0v38ySglbNngH4KQaqw1/V4TvvqKqirRi/IQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjorn Andersson , Stephen Boyd , Rob Clark , Sasha Levin Subject: [PATCH 5.10 50/67] drm/msm/dp: Initialize the INTF_CONFIG register Date: Mon, 2 Aug 2021 15:45:13 +0200 Message-Id: <20210802134340.740659982@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802134339.023067817@linuxfoundation.org> References: <20210802134339.023067817@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson [ Upstream commit f9a39932fa54b6421e751ada7a285da809146421 ] Some bootloaders set the widebus enable bit in the INTF_CONFIG register, but configuration of widebus isn't yet supported ensure that the register has a known value, with widebus disabled. Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support") Signed-off-by: Bjorn Andersson Reviewed-by: Stephen Boyd Link: https://lore.kernel.org/r/20210722024434.3313167-1-bjorn.andersson@linaro.org Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/dp/dp_catalog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers/gpu/drm/msm/dp/dp_catalog.c index 4963bfe6a472..aeca8b2ac5c6 100644 --- a/drivers/gpu/drm/msm/dp/dp_catalog.c +++ b/drivers/gpu/drm/msm/dp/dp_catalog.c @@ -740,6 +740,7 @@ int dp_catalog_panel_timing_cfg(struct dp_catalog *dp_catalog) dp_write_link(catalog, REG_DP_HSYNC_VSYNC_WIDTH_POLARITY, dp_catalog->width_blanking); dp_write_link(catalog, REG_DP_ACTIVE_HOR_VER, dp_catalog->dp_active); + dp_write_p0(catalog, MMSS_DP_INTF_CONFIG, 0); return 0; } -- 2.30.2