[PATCH v2 0/4] drm/amdgpu: Regression fixes from MST atomic-only conversion

Lyude Paul lyude at redhat.com
Mon Nov 14 22:17:51 UTC 2022


There was a bit of unexpected fallout from the atomic-only conversion
patches that I had pushed a while ago, which mostly affected amdgpu.
This fixes most of the severe issues, although we're still investigating
some lingering issues (which I suspect may just fix themselves following
this patchset, but we'll see!).

This is -technically- a v2 as it's a continuation on this previous
series:

https://patchwork.freedesktop.org/series/110556/

and there were some rather important changes made since then that Wayne
pointed out, which may or may not fix the last few issues left on this
issue:

https://gitlab.freedesktop.org/drm/amd/-/issues/2171

Note I've omitted one KASAN fix, but that's because it was just getting
in the way of turning on KASAN and was definitely unrelated to this bug.
Will submit that one on it's own shortly.

Lyude Paul (4):
  drm/amdgpu/mst: Stop ignoring error codes and deadlocking
  drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return
    code
  drm/amdgpu/dm/mst: Use the correct topology mgr pointer in
    amdgpu_dm_connector
  drm/amdgpu/dm/dp_mst: Don't grab mst_mgr->lock when computing DSC
    state

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  18 +-
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   | 254 ++++++++++--------
 .../display/amdgpu_dm/amdgpu_dm_mst_types.h   |  12 +-
 drivers/gpu/drm/display/drm_dp_mst_topology.c |   2 +-
 4 files changed, 155 insertions(+), 131 deletions(-)

-- 
2.37.3



More information about the amd-gfx mailing list