Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp613695rdb; Thu, 30 Nov 2023 13:25:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IECrp0+9YYvlVjnwsqp7KcN5ZaSVC2ny/2PZzcyBKO6JK4byblqA2VfdOR2kfhCVmrBeTVY X-Received: by 2002:a17:90b:3b43:b0:285:940a:b9c0 with SMTP id ot3-20020a17090b3b4300b00285940ab9c0mr22436983pjb.35.1701379513450; Thu, 30 Nov 2023 13:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701379513; cv=none; d=google.com; s=arc-20160816; b=ftmJBTRCDiF43pQr3a5yYPKRQbWr8uZLnUaxYTzXL4OAYoyJMkTxoxpOGDjgPqmThk q8nGt5H//pmpxsPt725uXgTYzcXygKRa9yeviLZTHhVo0CEvqv8vdVRI+QFR3W/05wiP oydZMFrYmEOX0Ucc1tkZqrCDVI+yqL8gXCM4AQOuxRX87rOD9sG9ogxNPAkPf8mW4qCf BwbbsUwjl6Clo4pJSVJycceWP6W85pF0Lnb0dFzJsmsS1ew6FPWn5kn1/B/WL47+FQXM VM64otdUWJFWo5sUwVex5Lf2tm0FCl3V7STQYacJzGAuVNUlkbonrJVg3GqQKeXWk0Yp qFuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/8c4Eu/Dubr5HSF4fDhNSD3Be+bs9dIetpJRDNp7v/M=; fh=EotKf+8FJ/WO12rDWIDB0Dg/KRPbG6i0awL7sS0jTNc=; b=DHnwQJMtN3QmctHLV2sSCHSfH4J4me3629Z9AmLEK10OPw+B/O1IQ4nbHHniSuEkxV KflB11p9NKfC8q7wYpypSidpkoTOQpVW7A2lj9C/k2cvW6enBixvkzqJSwggOV0K+svn 215+sSHA11vreMiVPAtq+pLk8SSKm6N/WlhRdT42DyEsSzgiTcxnQ+u0+35maN9KsMLB mtRb4H7d68+wDVqg3wA7B/Qms4TiLxlZSXCGMJyKEaTMrJ5tYnrGpn0OHQyE4lTgkJ2A MIprRSddRl1wwxBONVe8NNURapev/Rd3bjy5jHiHN4gOItqdc4AINghxzOrnsY7jFQKl mP1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=AZXKaZgl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t3-20020a17090abc4300b002800b0fa4f2si4359852pjv.104.2023.11.30.13.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 13:25:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=AZXKaZgl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3876E801B397; Thu, 30 Nov 2023 13:25:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376856AbjK3VY6 (ORCPT + 99 others); Thu, 30 Nov 2023 16:24:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376849AbjK3VY5 (ORCPT ); Thu, 30 Nov 2023 16:24:57 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 073BE133 for ; Thu, 30 Nov 2023 13:25:04 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-54af1daf6a9so2241028a12.1 for ; Thu, 30 Nov 2023 13:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; t=1701379502; x=1701984302; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/8c4Eu/Dubr5HSF4fDhNSD3Be+bs9dIetpJRDNp7v/M=; b=AZXKaZglrga8zJSFfonIzWWCD8rBCBLroR7NAUEwCCey2gOBjhJlv1Zppywp8uWrEx Ac2JxQ6SiMbT5igfh8/EyvPwoKZ8WK8DfFCbFf+foXp0D75W2ZftdWdZBsk2wLngef30 mZ/tEyLdt8lNdXgTIPG781oAyyF9VEOLH9T0MvuaNYA3sUJyfMo9HQ3xdjC3lJwQEd35 M5XvYOTG46VwCX1sJTB9Ir3DDGw4ifjEs3PvVGigbLqZp1Y0cOBJ3ZSOthgROZ7Mfgxj 8+8TAykkqkfkOHfPK1ld47rLhmb529L9FslMLElS3cZyHaozSDIaPU6zPUHhuYXJi3PD UHmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701379502; x=1701984302; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/8c4Eu/Dubr5HSF4fDhNSD3Be+bs9dIetpJRDNp7v/M=; b=Hggao8DzICunMPc3KZY9IK+dLT8bl0tf07BVNsYHIkhfngz9mDz+SgiA2B2YTolmxR R8CyxGWhpmlTNrVBYiuZwFibrsSko4LD3XaLoG7BdzyGCOgcwLA10NxdYkLeVhDGnv+k XXsZr0AwBgs7OBd432mj6Dxn6WgXjunS4gV0s4Df/HU8F50/olnZxAadrv7JQSc4bFRw 7943EOgpxyHogsV7O28M/wMLQNSTbWWlQnhNwsdc8qW1zzJA2E0vHTE0G+RXWihxVDkg HPz/JThSNjOH3DwmPC/5Chp8wiR2jJjW5ipzUsrj8NMVVJhd9da3sojrSlZ7U3vbP4e0 nrQQ== X-Gm-Message-State: AOJu0Yy9yPWxfTm2KxWjhfi1f4Do+HixXme7bTtVRGrTZUxf4gv2qxRx NowixfDpHd6V/MMXCTCE+JalPua9cDlNmpHY6M83Lw== X-Received: by 2002:a50:aa9b:0:b0:545:3b25:d142 with SMTP id q27-20020a50aa9b000000b005453b25d142mr198098edc.15.1701379502435; Thu, 30 Nov 2023 13:25:02 -0800 (PST) MIME-Version: 1.0 References: <20231130192119.32538-1-robdclark@gmail.com> In-Reply-To: <20231130192119.32538-1-robdclark@gmail.com> From: Steev Klimaszewski Date: Thu, 30 Nov 2023 15:24:51 -0600 Message-ID: Subject: Re: [PATCH] drm/msm/dpu: Correct UBWC settings for sc8280xp To: Rob Clark Cc: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Danylo Piliaiev , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 13:25:11 -0800 (PST) On Thu, Nov 30, 2023 at 1:21=E2=80=AFPM Rob Clark wro= te: > > From: Rob Clark > > The UBWC settings need to match between the display and GPU. When we > updated the GPU settings, we forgot to make the corresponding update on > the display side. > > Reported-by: Steev Klimaszewski > Fixes: 07e6de738aa6 ("drm/msm/a690: Fix reg values for a690") > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/msm_mdss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mds= s.c > index 6865db1e3ce8..29bb38f0bb2c 100644 > --- a/drivers/gpu/drm/msm/msm_mdss.c > +++ b/drivers/gpu/drm/msm/msm_mdss.c > @@ -545,7 +545,7 @@ static const struct msm_mdss_data sc8280xp_data =3D { > .ubwc_dec_version =3D UBWC_4_0, > .ubwc_swizzle =3D 6, > .ubwc_static =3D 1, > - .highest_bank_bit =3D 2, > + .highest_bank_bit =3D 3, > .macrotile_mode =3D 1, > }; > > -- > 2.42.0 > Tested on Lenovo Thinkpad X13s Tested-by: Steev Klimaszewski