[pull] amdgpu drm-fixes-6.8

2024-03-07 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.8.

The following changes since commit d6a209dd76e5ceb5d536e0a1a707ffcf64f95cef:

  Merge tag 'drm-intel-fixes-2024-03-01' of 
https://anongit.freedesktop.org/git/drm/drm-intel into drm-fixes (2024-03-05 
09:54:12 +0100)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.8-2024-03-07

for you to fetch changes up to 0dafaf659cc463f2db0af92003313a8bc46781cd:

  drm/amdgpu/pm: Fix the error of pwm1_enable setting (2024-03-06 15:44:31 
-0500)


amd-drm-fixes-6.8-2024-03-07:

amdgpu:
- SMU14 fix
- Fix possible NULL pointer
- VRR fix
- pwm fix


Alex Deucher (1):
  drm/amd/display: handle range offsets in VRR ranges

Li Ma (1):
  drm/amd/swsmu: modify the gfx activity scaling

Ma Jun (1):
  drm/amdgpu/pm: Fix the error of pwm1_enable setting

Melissa Wen (1):
  drm/amd/display: check dc_link before dereferencing

 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c   | 21 +++--
 drivers/gpu/drm/amd/pm/amdgpu_pm.c  | 12 +++-
 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c  |  2 --
 .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c|  5 -
 4 files changed, 30 insertions(+), 10 deletions(-)


[pull] amdgpu drm-fixes-6.8

2024-02-29 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.8.

The following changes since commit d206a76d7d2726f3b096037f2079ce0bd3ba329b:

  Linux 6.8-rc6 (2024-02-25 15:46:06 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.8-2024-02-29

for you to fetch changes up to b7cdccc6a849568775f738b1e233f751a8fed013:

  drm/amd/display: Add monitor patch for specific eDP (2024-02-28 17:33:05 
-0500)


amd-drm-fixes-6.8-2024-02-29:

amdgpu:
- Fix potential buffer overflow
- Fix power min cap
- Suspend/resume fix
- SI PM fix
- eDP fix


Alex Deucher (1):
  Revert "drm/amd/pm: resolve reboot exception for si oland"

Ma Jun (1):
  drm/amdgpu/pm: Fix the power1_min_cap value

Prike Liang (1):
  drm/amdgpu: Enable gpu reset for S3 abort cases on Raven series

Ryan Lin (1):
  drm/amd/display: Add monitor patch for specific eDP

Srinivasan Shanmugam (1):
  drm/amd/display: Prevent potential buffer overflow in map_hw_resources

 drivers/gpu/drm/amd/amdgpu/soc15.c | 45 --
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |  6 ++-
 drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c |  5 +++
 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 29 ++
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c  |  9 ++---
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c|  9 ++---
 .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c|  9 ++---
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   |  9 ++---
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   |  9 ++---
 9 files changed, 83 insertions(+), 47 deletions(-)


[pull] amdgpu drm-fixes-6.8

2024-02-22 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.8.

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

  Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.8-2024-02-22

for you to fetch changes up to bbfaf2aea7164db59739728d62d9cc91d64ff856:

  drm/amdgpu: Fix the runtime resume failure issue (2024-02-22 12:28:27 -0500)


amd-drm-fixes-6.8-2024-02-22:

amdgpu:
- Suspend/resume fixes
- Backlight error fix
- DCN 3.5 fixes
- Misc fixes


Armin Wolf (1):
  drm/amd/display: Fix memory leak in dm_sw_fini()

Lewis Huang (1):
  drm/amd/display: Only allow dig mapping to pwrseq in new asic

Ma Jun (1):
  drm/amdgpu: Fix the runtime resume failure issue

Melissa Wen (1):
  drm/amd/display: fix null-pointer dereference on edid reading

Srinivasan Shanmugam (1):
  drm/amd/display: Fix potential null pointer dereference in dc_dmub_srv

Swapnil Patel (1):
  drm/amd/display: fix input states translation error for dcn35 & dcn351

Wayne Lin (1):
  drm/amd/display: adjust few initialization order in dm

 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c   |  3 ++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 57 +-
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c   |  7 ++-
 .../gpu/drm/amd/display/dc/dce/dce_panel_cntl.c|  1 +
 .../drm/amd/display/dc/dcn301/dcn301_panel_cntl.c  |  1 +
 .../drm/amd/display/dc/dcn31/dcn31_panel_cntl.c| 18 ++-
 .../amd/display/dc/dml2/dml2_translation_helper.c  |  9 +++-
 drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h |  2 +-
 drivers/gpu/drm/amd/display/dc/link/link_factory.c | 26 +-
 9 files changed, 71 insertions(+), 53 deletions(-)


[pull] amdgpu drm-fixes-6.8

2024-02-08 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.8.

The following changes since commit d0399da9fb5f8e3d897b9776bffee2d3bfe20210:

  drm/sched: Re-queue run job worker when drm_sched_entity_pop_job() returns 
NULL (2024-02-06 12:47:43 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.8-2024-02-08

for you to fetch changes up to 534c8a5b9d5d41d30cdcac93cfa1bca5e17be009:

  drm/amdgpu: Fix HDP flush for VFs on nbio v7.9 (2024-02-07 18:30:11 -0500)


amd-drm-fixes-6.8-2024-02-08:

amdgpu:
- Misc NULL/bounds check fixes
- ODM pipe policy fix
- Aborted suspend fixes
- JPEG 4.0.5 fix
- DCN 3.5 fixes
- PSP fix
- DP MST fix
- Phantom pipe fix
- VRAM vendor fix
- Clang fix
- SR-IOV fix


Alvin Lee (1):
  drm/amd/display: Update phantom pipe enable / disable sequence

Fangzhi Zuo (1):
  drm/amd/display: Fix MST Null Ptr for RV

Li Ma (1):
  drm/amdgpu: remove asymmetrical irq disabling in jpeg 4.0.5 suspend

Lijo Lazar (2):
  drm/amdgpu: Avoid fetching VRAM vendor info
  drm/amdgpu: Fix HDP flush for VFs on nbio v7.9

Mario Limonciello (1):
  drm/amd/display: Clear phantom stream count and plane count

Nathan Chancellor (1):
  drm/amd/display: Increase frame-larger-than for all display_mode_vba files

Nicholas Kazlauskas (1):
  drm/amd/display: Increase eval/entry delay for DCN35

Prike Liang (2):
  drm/amdgpu: skip to program GFXDEC registers for suspend abort
  drm/amdgpu: reset gpu for s3 suspend abort case

Rodrigo Siqueira (1):
  drm/amd/display: Disable ODM by default for DCN35

Srinivasan Shanmugam (3):
  drm/amd/display: Fix 'panel_cntl' could be null in 
'dcn21_set_backlight_level()'
  drm/amd/display: Add NULL test for 'timing generator' in 
'dcn21_set_pipe()'
  drm/amd/display: Implement bounds check for stream encoder creation in 
DCN301

Stanley.Yang (1):
  drm/amdgpu: Fix shared buff copy to user

Wenjing Liu (1):
  drm/amd/display: set odm_combine_policy based on context in dcn32 resource

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|  2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|  2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c  |  8 +++
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c  |  8 ---
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c |  9 ---
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c   | 10 ---
 drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c |  6 ++
 drivers/gpu/drm/amd/amdgpu/soc15.c | 22 +++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 12 ++--
 drivers/gpu/drm/amd/display/dc/core/dc.c   |  4 +-
 drivers/gpu/drm/amd/display/dc/core/dc_state.c |  3 +
 drivers/gpu/drm/amd/display/dc/dml/Makefile|  6 +-
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   | 15 +++--
 .../drm/amd/display/dc/hwss/dce110/dce110_hwseq.c  |  4 +-
 .../drm/amd/display/dc/hwss/dce110/dce110_hwseq.h  |  4 ++
 .../drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c|  2 +-
 .../drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.h|  4 ++
 .../drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c| 63 +-
 .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c| 76 +++---
 .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.h|  2 +
 .../gpu/drm/amd/display/dc/hwss/dcn32/dcn32_init.c |  3 +
 drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h |  1 +
 .../drm/amd/display/dc/hwss/hw_sequencer_private.h |  7 ++
 drivers/gpu/drm/amd/display/dc/inc/resource.h  | 20 +++---
 .../display/dc/resource/dcn301/dcn301_resource.c   |  2 +-
 .../amd/display/dc/resource/dcn32/dcn32_resource.c | 16 -
 .../amd/display/dc/resource/dcn35/dcn35_resource.c |  5 +-
 28 files changed, 220 insertions(+), 98 deletions(-)


[pull] amdgpu drm-fixes-6.8

2024-01-25 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.8.

The following changes since commit b16702be210bb49256f8a32df2c310383134dd57:

  Merge tag 'exynos-drm-fixes-for-v6.8-rc2' of 
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes 
(2024-01-25 14:22:15 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.8-2024-01-25

for you to fetch changes up to c82eb25c5f005b33aebb1415a8472fc2eeea0deb:

  drm/amd/display: "Enable IPS by default" (2024-01-25 16:00:24 -0500)


amd-drm-fixes-6.8-2024-01-25:

amdgpu:
- AC/DC power supply tracking fix
- Don't show invalid vram vendor data
- SMU 13.0.x fixes
- GART fix for umr on systems without VRAM
- GFX 10/11 UNORD_DISPATCH fixes
- IPS display fixes (required for S0ix on some platforms)
- Misc fixes


Alex Deucher (2):
  drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs
  drm/amdgpu/gfx11: set UNORD_DISPATCH in compute MQDs

Alvin Lee (1):
  drm/amd/display: Add Replay IPS register for DMUB command table

ChunTao Tso (1):
  drm/amd/display: Replay + IPS + ABM in Full Screen VPB

Hawking Zhang (1):
  drm/amdgpu: Fix null pointer dereference

Kenneth Feng (1):
  drm/amd/pm: update the power cap setting

Lijo Lazar (3):
  drm/amdgpu: Avoid fetching vram vendor information
  drm/amdgpu: Show vram vendor only if available
  drm/amd/pm: Fetch current power limit from FW

Ma Jun (1):
  drm/amdgpu/pm: Fix the power source flag error

Nicholas Kazlauskas (1):
  drm/amd/display: Allow IPS2 during Replay

Roman Li (4):
  drm/amd/display: Add IPS checks before dcn register access
  drm/amd/display: Disable ips before dc interrupt setting
  drm/amd: Add a DC debug mask for IPS
  drm/amd/display: "Enable IPS by default"

Srinivasan Shanmugam (1):
  drm/amd/display: Fix uninitialized variable usage in core_link_ 
'read_dpcd() & write_dpcd()' functions

Tom St Denis (1):
  drm/amd/amdgpu: Assign GART pages to AMD device mapping

Yang Wang (1):
  drm/amd/pm: udpate smu v13.0.6 message permission

 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c   |  8 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c   | 17 ++-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c  |  3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c   |  1 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c   |  1 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 21 -
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c  |  5 +-
 drivers/gpu/drm/amd/display/dc/dc.h|  1 +
 drivers/gpu/drm/amd/display/dc/dc_types.h  |  5 ++
 .../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c|  9 +++-
 .../drm/amd/display/dc/link/protocols/link_dpcd.c  |  4 +-
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h| 47 +++
 .../drm/amd/display/modules/power/power_helpers.c  |  5 ++
 .../drm/amd/display/modules/power/power_helpers.h  |  1 +
 drivers/gpu/drm/amd/include/amd_shared.h   |  1 +
 drivers/gpu/drm/amd/include/amdgpu_reg_state.h |  2 +-
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c  | 14 ++
 drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c |  2 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |  2 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   | 54 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c   |  4 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   | 54 +-
 24 files changed, 229 insertions(+), 36 deletions(-)