[pull] amdgpu, amdkfd drm-fixes-6.1

2022-11-16 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.1.

The following changes since commit 094226ad94f471a9f19e8f8e7140a09c2625abaa:

  Linux 6.1-rc5 (2022-11-13 13:12:55 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.1-2022-11-16

for you to fetch changes up to 4b14841c9a820e484bc8c4c3f5a6fed1bc528cbc:

  drm/amd/pm: fix SMU13 runpm hang due to unintentional workaround (2022-11-15 
13:29:06 -0500)


amd-drm-fixes-6.1-2022-11-16:

amdgpu:
- Fix a possible memory leak in ganng submit error path
- DP tunneling fixes
- DCN 3.1 page flip fix
- DCN 3.2.x fixes
- DCN 3.1.4 fixes
- Don't expose degamma on hardware that doesn't support it
- BACO fixes for SMU 11.x
- BACO fixes for SMU 13.x
- Virtual display fix for devices with no display hardware

amdkfd:
- Memory limit regression fix


Alex Deucher (1):
  drm/amdgpu: there is no vbios fb on devices with no display hw (v2)

Candice Li (1):
  drm/amdgpu: Add psp_13_0_10_ta firmware to modinfo

Dillon Varone (3):
  drm/amd/display: Fix prefetch calculations for dcn32
  drm/amd/display: use uclk pstate latency for fw assisted mclk validation 
dcn32
  drm/amd/display: Set max for prefetch lines on dcn32

Dong Chenchen (1):
  drm/amdgpu: Fix memory leak in amdgpu_cs_pass1

Eric Huang (1):
  drm/amdkfd: Fix a memory limit issue

Evan Quan (3):
  drm/amd/pm: enable runpm support over BACO for SMU13.0.0
  drm/amd/pm: enable runpm support over BACO for SMU13.0.7
  drm/amd/pm: fix SMU13 runpm hang due to unintentional workaround

George Shen (2):
  drm/amd/display: Support parsing VRAM info v3.0 from VBIOS
  drm/amd/display: Fix calculation for cursor CAB allocation

Guchun Chen (1):
  drm/amdgpu: disable BACO support on more cards

Melissa Wen (1):
  drm/amd/display: don't enable DRM CRTC degamma property for DCE

Rodrigo Siqueira (1):
  drm/amd/display: Add HUBP surface flip interrupt handler

Roman Li (1):
  drm/amd/display: Fix optc2_configure warning on dcn314

Stylon Wang (2):
  drm/amd/display: Fix access timeout to DPIA AUX at boot time
  drm/amd/display: Fix invalid DPIA AUX reply causing system hang

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |  4 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |  6 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 41 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c|  2 +-
 drivers/gpu/drm/amd/amdgpu/psp_v13_0.c |  1 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 32 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h  |  6 
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 10 --
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 30 
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c  |  1 +
 .../gpu/drm/amd/display/dc/dcn314/dcn314_optc.c|  2 +-
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 14 +++-
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   | 16 -
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.c |  2 ++
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.h |  2 ++
 .../dc/dml/dcn32/display_mode_vba_util_32.c|  7 ++--
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c  | 23 ++--
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h  |  8 +
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0.h   | 10 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   | 11 ++
 .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c|  4 +++
 drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c |  2 +-
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |  9 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   | 30 ++--
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   | 30 ++--
 26 files changed, 235 insertions(+), 69 deletions(-)


[pull] amdgpu, amdkfd drm-fixes-6.1

2022-11-09 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.1.

The following changes since commit 6295f1d8b4503ad8a18519b781dd2d1fe5e88c52:

  Merge tag 'drm-intel-fixes-2022-11-03' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-11-04 09:30:18 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.1-2022-11-09

for you to fetch changes up to 675d84621a24490e1de3d59a4992a17fa9ff92b5:

  drm/amd/display: only fill dirty rectangles when PSR is enabled (2022-11-09 
18:07:59 -0500)


amd-drm-fixes-6.1-2022-11-09:

amdgpu:
- SMU 13.0.4 update
- GPUVM TLB race fix
- DCN 3.1.4 fixes
- DCN 3.2.x fixes
- Vega10 fan fix
- BACO fix for Beige Goby board
- PSR fix
- GPU VM PT locking fixes

amdkfd:
- CRIU fixes


Asher Song (1):
  Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 
properly""

Aurabindo Pillai (1):
  drm/amd/display: Zeromem mypipe heap struct before using it

Chaitanya Dhere (1):
  drm/amd/display: Fix FCLK deviation and tool compile issues

Christian König (1):
  drm/amdgpu: workaround for TLB seq race

Dillon Varone (1):
  drm/amd/display: Enforce minimum prefetch time for low memclk on DCN32

Felix Kuehling (2):
  drm/amdkfd: Fix error handling in kfd_criu_restore_events
  drm/amdkfd: Fix error handling in criu_checkpoint

Guchun Chen (1):
  drm/amdgpu: disable BACO on special BEIGE_GOBY card

Hamza Mahfooz (1):
  drm/amd/display: only fill dirty rectangles when PSR is enabled

Nicholas Kazlauskas (2):
  drm/amd/display: Update SR watermarks for DCN314
  drm/amd/display: Fix reg timeout in enc314_enable_fifo

Philip Yang (2):
  drm/amdgpu: Unlock bo_list_mutex after error handling
  drm/amdgpu: Drop eviction lock when allocating PT BO

Steve Su (1):
  drm/amd/display: Fix gpio port mapping issue

Tim Huang (1):
  drm/amd/pm: update SMU IP v13.0.4 msg interface header

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 26 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 41 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c  |  2 ++
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c   | 34 --
 drivers/gpu/drm/amd/amdkfd/kfd_events.c|  3 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  7 ++--
 .../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 32 -
 drivers/gpu/drm/amd/display/dc/dc.h|  1 +
 .../display/dc/dcn314/dcn314_dio_stream_encoder.c  | 24 +
 .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.c  |  1 +
 .../drm/amd/display/dc/dcn321/dcn321_resource.c|  1 +
 .../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c |  4 +--
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   |  2 ++
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.c |  5 +++
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.h |  3 ++
 .../dc/dml/dcn32/display_mode_vba_util_32.c| 14 ++--
 .../dc/dml/dcn32/display_mode_vba_util_32.h|  3 +-
 .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c |  2 ++
 .../drm/amd/display/dc/dml/display_mode_structs.h  |  1 +
 .../amd/display/dc/gpio/dcn32/hw_factory_dcn32.c   | 14 
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c   |  9 +++--
 .../drm/amd/pm/powerplay/hwmgr/vega10_thermal.c| 25 +++--
 .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h   | 15 
 .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c|  4 ++-
 25 files changed, 171 insertions(+), 103 deletions(-)


[pull] amdgpu, amdkfd drm-fixes-6.1

2022-11-02 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.1.  The big change here is the hang fix for the GC11 trap handler.

The following changes since commit 30a0b95b1335e12efef89dd78518ed3e4a71a763:

  Linux 6.1-rc3 (2022-10-30 15:19:28 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.1-2022-11-02

for you to fetch changes up to 6640f8e5adb69a0550fe1d224d3ac64c10f00eef:

  drm/amdkfd: update GFX11 CWSR trap handler (2022-11-02 17:16:25 -0400)


amd-drm-fixes-6.1-2022-11-02:

amdgpu:
- DCN 3.1.4 fixes
- DCN 3.2.x fixes
- GC 11.x fixes
- Virtual display fix
- Fail suspend if resources can't be evicted
- SR-IOV fix
- Display PSR fix

amdkfd:
- Fix possible NULL pointer deref
- GC 11.x trap handler fix


Alvin Lee (1):
  drm/amd/display: Enable timing sync on DCN32

Dillon Varone (2):
  drm/amd/display: Update latencies on DCN321
  drm/amd/display: Set memclk levels to be at least 1 for dcn32

Fangzhi Zuo (1):
  drm/amd/display: Ignore Cable ID Feature

Gavin Wan (1):
  drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

George Shen (4):
  drm/amd/display: Fix DCN32 DSC delay calculation
  drm/amd/display: Use forced DSC bpp in DML
  drm/amd/display: Round up DST_after_scaler to nearest int
  drm/amd/display: Add DSC delay factor workaround

Graham Sider (2):
  drm/amdgpu: correct MES debugfs versions
  drm/amdgpu: disable GFXOFF during compute for GFX11

Jay Cornwall (1):
  drm/amdkfd: update GFX11 CWSR trap handler

Jun Lei (1):
  drm/amd/display: Limit dcn32 to 1950Mhz display clock

Leo Chen (1):
  drm/amd/display: Update DSC capabilitie for DCN314

Mario Limonciello (1):
  drm/amd: Fail the suspend if resources can't be evicted

Max Tseng (1):
  drm/amd/display: cursor update command incomplete

Nevenko Stupar (1):
  drm/amd/display: Investigate tool reported FCLK P-state deviations

Yang Li (1):
  drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()

Yifan Zhang (1):
  drm/amdgpu: set fb_modifiers_not_supported in vkms

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c |   7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  15 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c   |   2 +
 drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 764 +++--
 .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm |   6 +
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c   |   4 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   3 +
 .../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c   |  11 +-
 drivers/gpu/drm/amd/display/dc/dc.h|   1 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c  |   4 +
 .../drm/amd/display/dc/dcn314/dcn314_resource.c|   2 +-
 .../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c   |   1 +
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   |   4 +-
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.c |  10 +-
 .../dc/dml/dcn32/display_mode_vba_util_32.c|   7 +-
 .../dc/dml/dcn32/display_mode_vba_util_32.h|   3 +-
 .../display/dc/dml/dcn32/display_rq_dlg_calc_32.c  |   4 +-
 .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c |  15 +-
 .../drm/amd/display/dc/dml/display_mode_structs.h  |   3 +
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.c  |   2 +-
 22 files changed, 464 insertions(+), 417 deletions(-)


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

2022-10-27 Thread Alex Deucher
On Thu, Oct 27, 2022 at 1:42 AM Chen, Guchun  wrote:
>
> Hello Alex,
>
> Regarding below patch, I guess we need to pick "8eb402f16d5b drm/amdgpu: Fix 
> uninitialized warning in mmhub_v2_0_get_clockgating()" together, otherwise, 
> build will possibly fail. Is it true?
>

I squashed that fix into the original patch to avoid confusion when
the patch goes to stable.

Alex


>  " Lijo Lazar (1):
>   drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x"
>
> Regards,
> Guchun
>
> -Original Message-
> From: amd-gfx  On Behalf Of Alex 
> Deucher
> Sent: Thursday, October 27, 2022 10:41 AM
> To: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; 
> airl...@gmail.com; daniel.vet...@ffwll.ch
> Cc: Deucher, Alexander 
> Subject: [pull] amdgpu, amdkfd drm-fixes-6.1
>
> Hi Dave, Daniel,
>
> Fixes for 6.1.  Fixes for new IPs and misc other fixes.
>
> The following changes since commit cbc543c59e8e7c8bc8604d6ac3e18a029e3d5118:
>
>   Merge tag 'drm-misc-fixes-2022-10-20' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-10-21 
> 09:56:14 +1000)
>
> are available in the Git repository at:
>
>   
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fagd5f%2Flinux.gitdata=05%7C01%7Cguchun.chen%40amd.com%7C6bbe7e42eb3d43bf622208dab7c4c906%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638024353059986195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=Y%2BU1OrPyhCaS44nGQMTrtqBpdkcJwFdFJEAaqWGiaqo%3Dreserved=0
>  tags/amd-drm-fixes-6.1-2022-10-26-1
>
> for you to fetch changes up to d61e1d1d5225a9baeb995bcbdb904f66f70ed87e:
>
>   drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume 
> (2022-10-26 17:48:43 -0400)
>
> 
> amd-drm-fixes-6.1-2022-10-26-1:
>
> amdgpu:
> - Stable pstate fix
> - SMU 13.x updates
> - SR-IOV fixes
> - PCI AER fix
> - GC 11.x fixes
> - Display fixes
> - Expose IMU firmware version for debugging
> - Plane modifier fix
> - S0i3 fix
>
> amdkfd:
> - Fix possible memory leak
> - Fix GC 10.x cache info reporting
>
> UAPI:
> - Expose IMU firmware version via existing INFO firmware query
>
> 
> Alvin Lee (1):
>   drm/amd/display: Don't return false if no stream
>
> Chengming Gui (1):
>   drm/amdgpu: fix pstate setting issue
>
> David Francis (1):
>   drm/amd: Add IMU fw version to fw version queries
>
> Jesse Zhang (1):
>   drm/amdkfd: correct the cache info for gfx1036
>
> Joaquín Ignacio Aramendía (1):
>   drm/amd/display: Revert logic for plane modifiers
>
> Kenneth Feng (2):
>   drm/amd/pm: update driver-if header for smu_v13_0_10
>   drm/amd/pm: allow gfxoff on gc_11_0_3
>
> Lijo Lazar (1):
>   drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x
>
> Prike Liang (2):
>   drm/amdkfd: update gfx1037 Lx cache setting
>   drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume
>
> Rafael Mendonca (1):
>   drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
>
> Rodrigo Siqueira (1):
>   drm/amd/display: Remove wrong pipe control lock
>
> Yiqing Yao (1):
>   drm/amdgpu: Adjust MES polling timeout for sriov
>
> YuBiao Wang (1):
>   drm/amdgpu: skip mes self test for gc 11.0.3 in recover
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   6 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c|   5 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  18 +++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|  13 +++
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c  |   4 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   |   1 +
>  drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h|   1 +
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |   1 +
>  drivers/gpu/drm/amd/amdgpu/mes_v11_0.c |   9 +-
>  drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c|  28 ++
>  drivers/gpu/drm/amd/amdkfd/kfd_crat.c  | 106 +++-
>  .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c|  50 ++
>  drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |  12 +--
>  .../amd/display/dc/dcn32/dcn32_resource_helpers.c  |   2 +-
>  .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 111 
> +++--
>  drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   |   2 +-
>  drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |   7 +-
>  include/uapi/drm/amdgpu_drm.h  |   2 +
>  18 files changed, 259 insertions(+), 119 deletions(-)


RE: [pull] amdgpu, amdkfd drm-fixes-6.1

2022-10-26 Thread Chen, Guchun
Hello Alex,

Regarding below patch, I guess we need to pick "8eb402f16d5b drm/amdgpu: Fix 
uninitialized warning in mmhub_v2_0_get_clockgating()" together, otherwise, 
build will possibly fail. Is it true?

 " Lijo Lazar (1): 
  drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x"

Regards,
Guchun

-Original Message-
From: amd-gfx  On Behalf Of Alex Deucher
Sent: Thursday, October 27, 2022 10:41 AM
To: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; 
airl...@gmail.com; daniel.vet...@ffwll.ch
Cc: Deucher, Alexander 
Subject: [pull] amdgpu, amdkfd drm-fixes-6.1

Hi Dave, Daniel,

Fixes for 6.1.  Fixes for new IPs and misc other fixes.

The following changes since commit cbc543c59e8e7c8bc8604d6ac3e18a029e3d5118:

  Merge tag 'drm-misc-fixes-2022-10-20' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-10-21 09:56:14 
+1000)

are available in the Git repository at:

  
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fagd5f%2Flinux.gitdata=05%7C01%7Cguchun.chen%40amd.com%7C6bbe7e42eb3d43bf622208dab7c4c906%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638024353059986195%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=Y%2BU1OrPyhCaS44nGQMTrtqBpdkcJwFdFJEAaqWGiaqo%3Dreserved=0
 tags/amd-drm-fixes-6.1-2022-10-26-1

for you to fetch changes up to d61e1d1d5225a9baeb995bcbdb904f66f70ed87e:

  drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume 
(2022-10-26 17:48:43 -0400)


amd-drm-fixes-6.1-2022-10-26-1:

amdgpu:
- Stable pstate fix
- SMU 13.x updates
- SR-IOV fixes
- PCI AER fix
- GC 11.x fixes
- Display fixes
- Expose IMU firmware version for debugging
- Plane modifier fix
- S0i3 fix

amdkfd:
- Fix possible memory leak
- Fix GC 10.x cache info reporting

UAPI:
- Expose IMU firmware version via existing INFO firmware query


Alvin Lee (1):
  drm/amd/display: Don't return false if no stream

Chengming Gui (1):
  drm/amdgpu: fix pstate setting issue

David Francis (1):
  drm/amd: Add IMU fw version to fw version queries

Jesse Zhang (1):
  drm/amdkfd: correct the cache info for gfx1036

Joaquín Ignacio Aramendía (1):
  drm/amd/display: Revert logic for plane modifiers

Kenneth Feng (2):
  drm/amd/pm: update driver-if header for smu_v13_0_10
  drm/amd/pm: allow gfxoff on gc_11_0_3

Lijo Lazar (1):
  drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x

Prike Liang (2):
  drm/amdkfd: update gfx1037 Lx cache setting
  drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume

Rafael Mendonca (1):
  drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()

Rodrigo Siqueira (1):
  drm/amd/display: Remove wrong pipe control lock

Yiqing Yao (1):
  drm/amdgpu: Adjust MES polling timeout for sriov

YuBiao Wang (1):
  drm/amdgpu: skip mes self test for gc 11.0.3 in recover

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c|   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  18 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|  13 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c  |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h|   1 +
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |   1 +
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c |   9 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c|  28 ++
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c  | 106 +++-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c|  50 ++
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |  12 +--
 .../amd/display/dc/dcn32/dcn32_resource_helpers.c  |   2 +-
 .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 111 +++--
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   |   2 +-
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |   7 +-
 include/uapi/drm/amdgpu_drm.h  |   2 +
 18 files changed, 259 insertions(+), 119 deletions(-)


[pull] amdgpu, amdkfd drm-fixes-6.1

2022-10-26 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.1.  Fixes for new IPs and misc other fixes.

The following changes since commit cbc543c59e8e7c8bc8604d6ac3e18a029e3d5118:

  Merge tag 'drm-misc-fixes-2022-10-20' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-10-21 09:56:14 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.1-2022-10-26-1

for you to fetch changes up to d61e1d1d5225a9baeb995bcbdb904f66f70ed87e:

  drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume 
(2022-10-26 17:48:43 -0400)


amd-drm-fixes-6.1-2022-10-26-1:

amdgpu:
- Stable pstate fix
- SMU 13.x updates
- SR-IOV fixes
- PCI AER fix
- GC 11.x fixes
- Display fixes
- Expose IMU firmware version for debugging
- Plane modifier fix
- S0i3 fix

amdkfd:
- Fix possible memory leak
- Fix GC 10.x cache info reporting

UAPI:
- Expose IMU firmware version via existing INFO firmware query


Alvin Lee (1):
  drm/amd/display: Don't return false if no stream

Chengming Gui (1):
  drm/amdgpu: fix pstate setting issue

David Francis (1):
  drm/amd: Add IMU fw version to fw version queries

Jesse Zhang (1):
  drm/amdkfd: correct the cache info for gfx1036

Joaquín Ignacio Aramendía (1):
  drm/amd/display: Revert logic for plane modifiers

Kenneth Feng (2):
  drm/amd/pm: update driver-if header for smu_v13_0_10
  drm/amd/pm: allow gfxoff on gc_11_0_3

Lijo Lazar (1):
  drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x

Prike Liang (2):
  drm/amdkfd: update gfx1037 Lx cache setting
  drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume

Rafael Mendonca (1):
  drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()

Rodrigo Siqueira (1):
  drm/amd/display: Remove wrong pipe control lock

Yiqing Yao (1):
  drm/amdgpu: Adjust MES polling timeout for sriov

YuBiao Wang (1):
  drm/amdgpu: skip mes self test for gc 11.0.3 in recover

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c|   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  18 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|  13 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c  |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h|   1 +
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |   1 +
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c |   9 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c|  28 ++
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c  | 106 +++-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c|  50 ++
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |  12 +--
 .../amd/display/dc/dcn32/dcn32_resource_helpers.c  |   2 +-
 .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 111 +++--
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   |   2 +-
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |   7 +-
 include/uapi/drm/amdgpu_drm.h  |   2 +
 18 files changed, 259 insertions(+), 119 deletions(-)