dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
@ 2023-06-12 14:15 bugzilla-daemon
  2023-06-12 14:15 ` [Bug 217545] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-12 14:15 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

            Bug ID: 217545
           Summary: Serious regression on amdgpu
                    (drm_display_helper/drm_dp_atomic_find_time_slots)
                    with two DisplayPort connected via a HP G5 docking
                    station
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: bugzilla.kernel.bpeb@manchmal.in-ulm.de
        Regression: Yes

Created attachment 304404
  --> https://bugzilla.kernel.org/attachment.cgi?id=304404&action=edit
lscpi

This was previously mentioned in comment 69 in
https://bugzilla.kernel.org/show_bug.cgi?id=204181 but I reckon it's a
different story.

Hardware:

* Notebook hp mt45 with

    03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
[1002:15d8] (rev d3)

  Also briefly confirmed with a Thinkpad T495 with

    06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
[1002:15d8] (rev d2)

* HP G5 USB-C docking station (HSN-IX02)

Problem:

After upgrading from kernel 6.0 to 6.1, the host crashes once a *second*
external display is connected via DisplayPort on that docking station:

    BUG: kernel NULL pointer dereference, address: 0000000000000008
    RIP: 0010:drm_dp_atomic_find_time_slots+0x47/0x250 [drm_display_helper]

(see attachment for full log)

Another way to reproduce this:

* Use the Ubuntu 23.04 installer/test image.
* Boot with displays disconnected.
* Select "Try Ubuntu".
* Connect displays.
* Upon connecting the second display, the system freezes.


Insights found after bisecting:

* This was introduced with commit

    commit a5c2c0d164e96d24f73faffcd3b7bbb607e701a9
    Author: Lyude Paul <lyude@redhat.com>
    Date:   Wed Aug 17 15:38:37 2022 -0400

        drm/display/dp_mst: Add nonblocking helpers for DP MST

* Later this was half-fixed with commit

    commit efa4c4df864ecd969670093524d3e8f69188e5eb
    Author: Harry Wentland <harry.wentland@amd.com>
    Date:   Mon Feb 13 17:36:55 2023 -0500

        drm/amd/display: call remove_stream_from_ctx from res_pool funcs

Now the notebook no longer crashes, however the displays remain dark although
from the operating system's point of view they are connected and should show
some content. This may or may not be a userland problem. (Aside: This commit
should be backported to the 6.1 stable series. It applies and likewise reduces
the problem from "crash" to "dark screens" there.)

This situation still exists with 6.4-rc6 (released last night)

Please advise if there's anything else we can do.

Find attached:

* lscpi
* dmesg (with drm.debug=4)
* kernel.log (the actual crash)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
@ 2023-06-12 14:15 ` bugzilla-daemon
  2023-06-12 14:15 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-12 14:15 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

--- Comment #1 from Christoph Biedl (bugzilla.kernel.bpeb@manchmal.in-ulm.de) ---
Created attachment 304405
  --> https://bugzilla.kernel.org/attachment.cgi?id=304405&action=edit
dmesg

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
  2023-06-12 14:15 ` [Bug 217545] " bugzilla-daemon
@ 2023-06-12 14:15 ` bugzilla-daemon
  2023-06-12 14:22 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-12 14:15 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

--- Comment #2 from Christoph Biedl (bugzilla.kernel.bpeb@manchmal.in-ulm.de) ---
Created attachment 304406
  --> https://bugzilla.kernel.org/attachment.cgi?id=304406&action=edit
kernel.log

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
  2023-06-12 14:15 ` [Bug 217545] " bugzilla-daemon
  2023-06-12 14:15 ` bugzilla-daemon
@ 2023-06-12 14:22 ` bugzilla-daemon
  2023-06-13  7:41 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-12 14:22 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

Alex Deucher (alexdeucher@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #3 from Alex Deucher (alexdeucher@gmail.com) ---
Please see: https://gitlab.freedesktop.org/drm/amd/-/issues/2492

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-06-12 14:22 ` bugzilla-daemon
@ 2023-06-13  7:41 ` bugzilla-daemon
  2023-06-14  9:28 ` bugzilla-daemon
  2023-06-16 16:17 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-13  7:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

--- Comment #4 from Christoph Biedl (bugzilla.kernel.bpeb@manchmal.in-ulm.de) ---
Thanks, seems my search-foo didn't find that one.

FWIW, the mentioned fix
https://github.com/jlindgren90/linux/commit/8cf17c25e2d2644fa6dfc3d7de6b3b35689d4db0.patch
solves the problem for me (on top of 6.1.30).

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
                   ` (3 preceding siblings ...)
  2023-06-13  7:41 ` bugzilla-daemon
@ 2023-06-14  9:28 ` bugzilla-daemon
  2023-06-16 16:17 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-14  9:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 217545] Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station
  2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
                   ` (4 preceding siblings ...)
  2023-06-14  9:28 ` bugzilla-daemon
@ 2023-06-16 16:17 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2023-06-16 16:17 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=217545

--- Comment #5 from Christoph Biedl (bugzilla.kernel.bpeb@manchmal.in-ulm.de) ---
Dear future reader, please be reminded this is still an ongoing issue, or as
written in the drm/amd ticket: "this patch is just papering over underlying
issues". So while it makes that specific setup usable, the ultimate fix is
still not available yet. Check on the other bug tracker, or re-try newer kernel
releases.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-16 16:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 14:15 [Bug 217545] New: Serious regression on amdgpu (drm_display_helper/drm_dp_atomic_find_time_slots) with two DisplayPort connected via a HP G5 docking station bugzilla-daemon
2023-06-12 14:15 ` [Bug 217545] " bugzilla-daemon
2023-06-12 14:15 ` bugzilla-daemon
2023-06-12 14:22 ` bugzilla-daemon
2023-06-13  7:41 ` bugzilla-daemon
2023-06-14  9:28 ` bugzilla-daemon
2023-06-16 16:17 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).