public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Imre Deak <imre.deak@intel.com>
To: Chris Bainbridge <chris.bainbridge@gmail.com>
Cc: Leo Li <sunpeng.li@amd.com>,
	Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>,
	Harry Wentland <harry.wentland@amd.com>,
	zaeem.mohamed@amd.com, pekka.paalanen@collabora.com, "Wheeler,
	Daniel" <daniel.wheeler@amd.com>,
	"Deucher, Alexander" <alexander.deucher@amd.com>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Linux List Kernel Mailing <linux-kernel@vger.kernel.org>,
	Linux regressions mailing list <regressions@lists.linux.dev>,
	lyude@redhat.com
Subject: Re: [BUG,BISECTED] WARNING dcn20_find_secondary_pipe
Date: Mon, 27 Jan 2025 11:44:00 +0200	[thread overview]
Message-ID: <Z5dVYAPYu1d34dlC@ideak-desk.fi.intel.com> (raw)
In-Reply-To: <Z5Zm-STfRzJ_PIkI@debian.local>

On Sun, Jan 26, 2025 at 04:46:49PM +0000, Chris Bainbridge wrote:
> Hardware is HP Pavilion Aero 13 laptop with Dell WD19 dock and three
> external monitors. I get a warning with recent kernel builds when
> enabling the external monitors with xrandr after initial boot:
> 
> 16:57:49 kernel: WARNING: CPU: 4 PID: 1347 at drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c:1734 dcn20_find_secondary_pipe+0x1a6/0x400 [amdgpu]
>
> [...]
> 
> The bisect leads to a merge commit 43102a2012c2 ("Merge tag
> 'drm-misc-fixes-2024-09-26'"). Neither parent commit produces the
> warning, but the merged commit does.
> 
> There are two commits that interact to cause this warning:
> 
> 2a2a865aee43 ("drm/amd/display: Add all planes on CRTC to state for
> overlay cursor").
> 
> and
> 
> 70a6587dca37 ("drm/dp_mst: Fix DSC decompression detection in Synaptics
> branch devices")
> 
> 2a2a865aee43 was added to the mainline Linux repo first, but the warning
> only appears following the merge of 70a6587dca37.

The effect of 70a6587dca37 is to enable DSC only if the dock supports
this. IIRC the WD19 dock does support DSC in both of the branch devices
within it, so not sure how the commit makes a difference on it.

Checking if it's the DP_DSC_SUPPORT DPCD register AUX read which fails,
or if the DP_DSC_DECOMPRESSION_IS_SUPPORTED flag is not set in the
register would tell more (maybe by using drm.debug=0x100).

In any case not sure how the reported DSC capability would relate to
the above warn in dcn20_find_secondary_pipe(), the driver should handle
a dock both with and without DSC support.

> #regzbot introduced: 43102a2012c2

      reply	other threads:[~2025-01-27  9:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-05 18:05 6.11/regression/bisected - after commit 1b04dcca4fb1, launching some RenPy games causes computer hang Mikhail Gavrilov
2024-08-24 21:12 ` Mikhail Gavrilov
2024-09-03  6:35   ` Mikhail Gavrilov
2024-09-03 23:15     ` Leo Li
2024-09-04 22:21       ` Mikhail Gavrilov
2024-09-04 23:06         ` Leo Li
2024-09-05  6:06           ` Mikhail Gavrilov
2024-09-06 19:46             ` Leo Li
2024-09-08 23:30               ` Mikhail Gavrilov
2024-09-10 15:47                 ` Leo Li
2024-09-10 21:11                   ` Leo Li
2024-09-10 22:16                     ` Mikhail Gavrilov
2024-09-09  8:49               ` Michel Dänzer
2025-01-26 16:46           ` [BUG,BISECTED] WARNING dcn20_find_secondary_pipe Chris Bainbridge
2025-01-27  9:44             ` Imre Deak [this message]

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=Z5dVYAPYu1d34dlC@ideak-desk.fi.intel.com \
    --to=imre.deak@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=chris.bainbridge@gmail.com \
    --cc=daniel.wheeler@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lyude@redhat.com \
    --cc=mikhail.v.gavrilov@gmail.com \
    --cc=pekka.paalanen@collabora.com \
    --cc=regressions@lists.linux.dev \
    --cc=sunpeng.li@amd.com \
    --cc=zaeem.mohamed@amd.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox