All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Leonard Lausen <leonard@lausen.nl>
Cc: Connor Abbott <cwabbott0@gmail.com>,
	freedreno@lists.freedesktop.org, regressions@lists.linux.dev
Subject: Re: [REGRESSION] sc7180-trogdor-lazor image corruption regression for USB-C DP Alt Mode ([PATCH 0/2] Add param for the highest bank bit)
Date: Sun, 18 Feb 2024 06:04:32 +0200	[thread overview]
Message-ID: <cf95947d-8bec-4f95-9e08-2d942723cafc@linaro.org> (raw)
In-Reply-To: <85581fad-da8f-4550-a1c8-8f2996425dcd@lausen.nl>

Hi Leonard,

On Sun, 18 Feb 2024 at 03:17, Leonard Lausen <leonard@lausen.nl> wrote:
>
> Hi Connor,
>
> unfortunately, your series https://patchwork.freedesktop.org/series/127529/ has introduced a regression for external displays connected through USB-C DP Alt Mode, at least on sc7180-trogdor-lazor devices. Do you think it's possible to  fix this before the 6.8 release or would it be better to revert the series? I'm happy to help testing any fixes. The issue is also tracked at https://gitlab.freedesktop.org/drm/msm/-/issues/49.

Please check whether this quick fix works for you

diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c 
b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c
index c9c55e2ea584..f097577a99ad 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c
@@ -1325,6 +1325,11 @@ static void a6xx_calc_ubwc_config(struct 
adreno_gpu *gpu)
  static void a6xx_set_ubwc_config(struct msm_gpu *gpu)
  {
  	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
+
+	/* a618 is using the hw default values */
+	if (adreno_is_a618(adreno_gpu))
+		return;
+
  	/*
  	 * We subtract 13 from the highest bank bit (13 is the minimum value
  	 * allowed by hw) and write the lowest two bits of the remaining value


-- 
With best wishes
Dmitry

  reply	other threads:[~2024-02-18  4:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20231207213048.1377147-1-cwabbott0@gmail.com>
2024-02-18  1:10 ` [REGRESSION] sc7180-trogdor-lazor image corruption regression for USB-C DP Alt Mode ([PATCH 0/2] Add param for the highest bank bit) Leonard Lausen
2024-02-18  4:04   ` Dmitry Baryshkov [this message]
2024-02-18 13:12     ` Leonard Lausen
2024-02-18 13:31   ` Dmitry Baryshkov
2024-02-26 12:32     ` Linux regression tracking #update (Thorsten Leemhuis)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf95947d-8bec-4f95-9e08-2d942723cafc@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=cwabbott0@gmail.com \
    --cc=freedreno@lists.freedesktop.org \
    --cc=leonard@lausen.nl \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.