Skip to content

amdgpu: fix panic on old GPUs

Rosen Penev amd-gfx dri-devel lkml stable 3 versions – Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 5 repliesApplied
  2. v22 patches 8 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: use proper DC check in amdgpu_display_supported_domains()drivers/gpu/drm/amd/amdgpu/amdgpu_display.c+1 -11 reply
2/4drm/amdgpu: clarify DC checksdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +5 more+25 -211 reply
3/4drm/amd/display: Add pixel_clock to amd_pp_display_configurationdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c drivers/gpu/drm/amd/display/dc/dm_services_types.h +1 more+4 -21 reply
4/4drm/amd/pm: Use pm_display_cfg in legacy DPM (v2)drivers/gpu/drm/amd/pm/amdgpu_dpm_internal.c drivers/gpu/drm/amd/pm/inc/amdgpu_dpm_internal.h drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c +3 more+97 -581 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian König
SeriesA-b
1/4A-b A-b
2/4A-b A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 for 6.1 0/4] amdgpu: fix panic on old GPUs

Because of incomplete backports to stable kernels, DC ended up breaking on older GCN 1 GPUs. This patchset adds the missing upstream commits to at least fix the panic/black screen on boot.

They are applicable to 6.12, 6.6, and 6.1 as those are the currently supported kernels that 7009e3af0474aca5f64262b3c72fb6e23b232f9b got backported to.

6.1 needs two extra backports for these two commits to be cherry-picked cleanly. Those are

96ce96f8773da4814622fd97e5226915a2c30706
d09ef243035b75a6d403ebfeb7e87fa20d7e25c6

v3: Add those commits to this series and sign them off.
v2: Add Signed-off-by.

Alex Deucher (2):
drm/amdgpu: use proper DC check in amdgpu_display_supported_domains() drm/amdgpu: clarify DC checks

Timur Kristóf (2):
drm/amd/display: Add pixel_clock to amd_pp_display_configuration drm/amd/pm: Use pm_display_cfg in legacy DPM (v2)

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c      |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c   |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    | 32 ++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c   |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  2 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  1 +
 .../amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c  |  1 +
 .../dc/clk_mgr/dce110/dce110_clk_mgr.c        |  2 +-
 .../drm/amd/display/dc/dm_services_types.h    |  2 +-
 drivers/gpu/drm/amd/include/dm_pp_interface.h |  1 +
 drivers/gpu/drm/amd/pm/amdgpu_dpm_internal.c  | 67 +++++++++++++++++++
 .../gpu/drm/amd/pm/inc/amdgpu_dpm_internal.h  |  2 +
 drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c    |  4 +-
 .../gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c    |  6 +-
 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 65 ++++++------------
 .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 13 +---
 17 files changed, 126 insertions(+), 81 deletions(-)

--
2.53.0