[pull] amdgpu, amdkfd drm-fixes-6.2

2023-01-11 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit 93235bfd5a9c3329df31d1a4d7a93d138b3138c2:

  Merge tag 'amd-drm-fixes-6.2-2023-01-04' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2023-01-05 12:13:51 
+0100)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-01-11

for you to fetch changes up to a6941f89d7c6a6ba49316bbd7da2fb2f719119a7:

  drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU (2023-01-10 18:11:08 
-0500)


amd-drm-fixes-6.2-2023-01-11:

amdgpu:
- SMU13 fan speed fix
- SMU13 fix power cap handling
- SMU13 BACO fix
- Fix a possible segfault in bo validation error case
- Delay removal of firmware framebuffer
- Fix error when unloading

amdkfd:
- SVM fix when clearing vram
- GC11 fix for multi-GPU


Eric Huang (2):
  drm/amdkfd: Add sync after creating vram bo
  drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU

Evan Quan (2):
  drm/amd/pm: correct the reference clock for fan speed(rpm) calculation
  drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 
13.0.7

Guchun Chen (1):
  drm/amd/pm/smu13: BACO is supported when it's in BACO state

Luben Tuikov (1):
  drm/amdgpu: Fix potential NULL dereference

Mario Limonciello (1):
  drm/amd: Delay removal of the firmware framebuffer

YiPeng Chai (1):
  drm/amdgpu: Fixed bug on error when unloading amdgpu

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  | 2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 8 
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c   | 6 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c| 5 +++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c  | 2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c  | 9 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c| 8 ++--
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c  | 1 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c  | 1 +
 10 files changed, 31 insertions(+), 13 deletions(-)


Re: [pull] amdgpu, amdkfd drm-fixes-6.2

2023-01-05 Thread Daniel Vetter
On Wed, Jan 04, 2023 at 10:38:39PM -0500, Alex Deucher wrote:
> Hi Dave, Daniel,
> 
> Fixes for 6.2.
> 
> The following changes since commit c8de526215fdab9f2dd0d9675582cf9f1391a919:
> 
>   Merge tag 'drm-misc-next-fixes-2023-01-03' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-01-03 
> 21:02:57 +0100)
> 
> are available in the Git repository at:
> 
>   https://gitlab.freedesktop.org/agd5f/linux.git 
> tags/amd-drm-fixes-6.2-2023-01-04
> 
> for you to fetch changes up to 6fe6ece398f7431784847e922a2c8c385dc58a35:
> 
>   Revert "drm/amd/display: Enable Freesync Video Mode by default" (2023-01-04 
> 22:29:32 -0500)

Pulled, thanks a lot.
-Daniel
> 
> 
> amd-drm-fixes-6.2-2023-01-04:
> 
> amdgpu:
> - DCN 3.2 fix
> - Display fix
> 
> amdkfd:
> - Fix kernel warning
> 
> 
> Michel Dänzer (1):
>   Revert "drm/amd/display: Enable Freesync Video Mode by default"
> 
> Mukul Joshi (1):
>   drm/amdkfd: Fix kernel warning during topology setup
> 
> Samson Tam (1):
>   drm/amd/display: Uninitialized variables causing 4k60 UCLK to stay at 
> DPM1 and not DPM0
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h|  1 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 27 
> ++
>  drivers/gpu/drm/amd/amdkfd/kfd_topology.c  |  2 +-
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 12 ++
>  .../dc/dml/dcn32/display_mode_vba_util_32.c|  6 ++---
>  5 files changed, 39 insertions(+), 9 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[pull] amdgpu, amdkfd drm-fixes-6.2

2023-01-04 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit c8de526215fdab9f2dd0d9675582cf9f1391a919:

  Merge tag 'drm-misc-next-fixes-2023-01-03' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-01-03 21:02:57 
+0100)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-01-04

for you to fetch changes up to 6fe6ece398f7431784847e922a2c8c385dc58a35:

  Revert "drm/amd/display: Enable Freesync Video Mode by default" (2023-01-04 
22:29:32 -0500)


amd-drm-fixes-6.2-2023-01-04:

amdgpu:
- DCN 3.2 fix
- Display fix

amdkfd:
- Fix kernel warning


Michel Dänzer (1):
  Revert "drm/amd/display: Enable Freesync Video Mode by default"

Mukul Joshi (1):
  drm/amdkfd: Fix kernel warning during topology setup

Samson Tam (1):
  drm/amd/display: Uninitialized variables causing 4k60 UCLK to stay at 
DPM1 and not DPM0

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 27 ++
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c  |  2 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 12 ++
 .../dc/dml/dcn32/display_mode_vba_util_32.c|  6 ++---
 5 files changed, 39 insertions(+), 9 deletions(-)


[pull] amdgpu, amdkfd drm-fixes-6.2

2022-12-21 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit 38624d2c972e7692ca59d0d3b97741a3313addb3:

  Merge tag 'drm-intel-next-fixes-2022-12-15' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-next (2022-12-20 15:43:14 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2022-12-21

for you to fetch changes up to c1c4a8b217213c1924eabf4f28385bbee9cc50c1:

  drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency 
(2022-12-21 15:34:03 -0500)


amd-drm-fixes-6.2-2022-12-21:

amdgpu:
- Avoid large variable on the stack
- S0ix fixes
- SMU 13.x fixes
- VCN fix
- Add missing fence reference

amdkfd:
- Fix init vm error handling
- Fix double release of compute pasid


Alex Deucher (1):
  drm/amdgpu: skip MES for S0ix as well since it's part of GFX

Arnd Bergmann (1):
  drm/amd/pm: avoid large variable on kernel stack

Christian König (1):
  drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency

Evan Quan (2):
  drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34
  drm/amd/pm: correct the fan speed retrieving in PWM for some SMU13 asics

Philip Yang (2):
  drm/amdkfd: Fix kfd_process_device_init_vm error handling
  drm/amdkfd: Fix double release compute pasid

Saleemkhan Jamadar (1):
  drm/amdgpu: enable VCN DPG for GC IP v11.0.4

Tim Huang (1):
  drm/amdgpu: skip mes self test after s0i3 resume for MES IP v11.0

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h |  4 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   | 39 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  5 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c|  2 ++
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c |  3 +-
 drivers/gpu/drm/amd/amdgpu/soc21.c |  1 +
 drivers/gpu/drm/amd/amdkfd/kfd_process.c   | 24 -
 .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h |  2 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   |  1 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |  2 ++
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   | 17 --
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   | 38 -
 12 files changed, 102 insertions(+), 36 deletions(-)