[pull] amdgpu, amdkfd drm-next-6.7

2023-10-27 Thread Alex Deucher
Hi Dave, Sima,

Fixes for 6.7.

The following changes since commit 5258dfd4a6adb5f45f046b0dd2e73c680f880d9d:

  usb: typec: altmodes/displayport: fixup drm internal api change vs new user. 
(2023-10-27 07:55:41 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-next-6.7-2023-10-27

for you to fetch changes up to dd3dd9829bf9a4ecd55482050745efdd9f7f97fc:

  drm/amdgpu: Remove unused variables from amdgpu_show_fdinfo (2023-10-27 
14:23:01 -0400)


amd-drm-next-6.7-2023-10-27:

amdgpu:
- RAS fixes
- Seamless boot fixes
- NBIO 7.7 fix
- SMU 14.0 fixes
- GC 11.5 fixes
- DML2 fixes
- ASPM fixes
- VPE fixes
- Misc code cleanups
- SRIOV fixes
- Add some missing copyright notices
- DCN 3.5 fixes
- FAMS fixes
- Backlight fix
- S/G display fix
- fdinfo cleanups
- EXT_COHERENT fixes for APU and NUMA systems

amdkfd:
- Misc fixes
- Misc code cleanups
- SVM fixes


Agustin Gutierrez (1):
  drm/amd/display: Remove power sequencing check

Alex Hung (2):
  drm/amd/display: Revert "drm/amd/display: allow edp updates for virtual 
signal"
  drm/amd/display: Set emulated sink type to HDMI accordingly.

Alvin Lee (1):
  drm/amd/display: Update FAMS sequence for DCN30 & DCN32

Aric Cyr (1):
  drm/amd/display: 3.2.256

Aurabindo Pillai (1):
  drm/amd/display: add interface to query SubVP status

Candice Li (2):
  drm/amdgpu: Identify data parity error corrected in replay mode
  drm/amdgpu: Retrieve CE count from ce_count_lo_chip in EccInfo table

David Francis (1):
  drm/amdgpu: Add EXT_COHERENT support for APU and NUMA systems

Fangzhi Zuo (1):
  drm/amd/display: Fix MST Multi-Stream Not Lighting Up on dcn35

George Shen (1):
  drm/amd/display: Update SDP VSC colorimetry from DP test automation 
request

Hamza Mahfooz (1):
  drm/amd/display: fix S/G display enablement

Hugo Hu (1):
  drm/amd/display: reprogram det size while seamless boot

Ilya Bakoulin (1):
  drm/amd/display: Fix shaper using bad LUT params

Iswara Nagulendran (1):
  drm/amd/display: Read before writing Backlight Mode Set Register

James Zhu (1):
  drm/amdxcp: fix amdxcp unloads incompletely

Jesse Zhang (1):
  drm/amdkfd: Fix shift out-of-bounds issue

Jiadong Zhu (2):
  drm/amd/pm: drop unneeded dpm features disablement for SMU 14.0.0
  drm/amdgpu: add tmz support for GC IP v11.5.0

Kenneth Feng (1):
  drm/amd/amdgpu: avoid to disable gfxhub interrupt when driver is unloaded

Lang Yu (1):
  drm/amdgpu/vpe: correct queue stop programing

Li Ma (2):
  drm/amdgpu: modify if condition in nbio_v7_7.c
  drm/amd/amdgpu: fix the GPU power print error in pm info

Lijo Lazar (4):
  drm/amdgpu: Add API to get full IP version
  drm/amdgpu: Use discovery table's subrevision
  drm/amdgpu: Add a read to GFX v9.4.3 ring test
  drm/amdgpu: Use pcie domain of xcc acpi objects

Lin.Cao (2):
  drm/amdgpu remove restriction of sriov max_pfn on Vega10
  drm/amd: check num of link levels when update pcie param

Ma Jun (1):
  drm/amd/pm: Fix the return value in default case

Mario Limonciello (4):
  drm/amd: Disable ASPM for VI w/ all Intel systems
  drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not 
supported
  drm/amd: Move AMD_IS_APU check for ASPM into top level function
  drm/amd: Explicitly disable ASPM when dynamic switching disabled

Michael Strauss (1):
  drm/amd/display: Disable SYMCLK32_SE RCO on DCN314

Mukul Joshi (1):
  drm/amdgpu: Fix typo in IP discovery parsing

Nicholas Kazlauskas (2):
  drm/amd/display: Revert "Improve x86 and dmub ips handshake"
  drm/amd/display: Fix IPS handshake for idle optimizations

Philip Yang (2):
  Revert "drm/amdkfd:remove unused code"
  Revert "drm/amdkfd: Use partial migrations in GPU page faults"

Qu Huang (1):
  drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL

Rob Clark (1):
  drm/amdgpu: Remove duplicate fdinfo fields

Rodrigo Siqueira (5):
  drm/amd/display: Set the DML2 attribute to false in all DCNs older than 
version 3.5
  drm/amd/display: Fix DMUB errors introduced by DML2
  drm/amd/display: Correct enum typo
  drm/amd/display: Add prefix to amdgpu crtc functions
  drm/amd/display: Add prefix for plane functions

Samson Tam (2):
  drm/amd/display: fix num_ways overflow error
  drm/amd/display: add null check for invalid opps

Srinivasan Shanmugam (1):
  drm/amdkfd: Address 'remap_list' not described in 'svm_range_add'

Stylon Wang (3):
  drm/amd/display: Add missing copyright notice in DMUB
  drm/amd/display: Fix copyright notice in DML2 code
  drm/amd/display: Fix copyright notice in DC code

Sung Joon Kim (2):
  drm/amd/display: Add a check for idle power optimization
  

Re: [pull] amdgpu, amdkfd drm-next-6.7

2023-10-24 Thread Alex Deucher
On Fri, Oct 20, 2023 at 3:51 PM Alex Deucher  wrote:
>
> Hi Dave, Sima,
>
> More updates for 6.7.  Mostly bug fixes.
>
> The following changes since commit 27442758e9b4e083bef3f164a1739475c01f3202:
>
>   Merge tag 'amd-drm-next-6.7-2023-10-13' of 
> https://gitlab.freedesktop.org/agd5f/linux into drm-next (2023-10-18 16:08:07 
> +1000)
>
> are available in the Git repository at:
>
>   https://gitlab.freedesktop.org/agd5f/linux.git 
> tags/amd-drm-next-6.7-2023-10-20
>
> for you to fetch changes up to 5b2c54e0d0ea09f7a3b500510731878326e1117e:
>
>   drm/amd/display: Fix stack size issue on DML2 (2023-10-20 15:11:29 -0400)

This was lost during the gitlab migration, but I've pushed everything
up again so it should be valid again now.

Alex

>
> 
> amd-drm-next-6.7-2023-10-20:
>
> amdgpu:
> - SMU 13 updates
> - UMSCH updates
> - DC MPO fixes
> - RAS updates
> - MES 11 fixes
> - Fix possible memory leaks in error pathes
> - GC 11.5 fixes
> - Kernel doc updates
> - PSP updates
> - APU IMU fixes
> - Misc code cleanups
> - SMU 11 fixes
> - OD fix
> - Frame size warning fixes
> - SR-IOV fixes
> - NBIO 7.11 updates
> - NBIO 7.7 updates
> - XGMI fixes
> - devcoredump updates
>
> amdkfd:
> - Misc code cleanups
> - SVM fixes
>
> 
> Alex Deucher (3):
>   drm/amdgpu/pm: update SMU 13.0.0 PMFW version check
>   drm/amdgpu/mes11: remove aggregated doorbell code
>   drm/amdgpu: update to the latest GC 11.5 headers
>
> Alex Sierra (1):
>   drm/amdkfd: remap unaligned svm ranges that have split
>
> André Almeida (3):
>   drm/amdgpu: Encapsulate all device reset info
>   drm/amdgpu: Move coredump code to amdgpu_reset file
>   drm/amdgpu: Create version number for coredumps
>
> Asad Kamal (2):
>   drm/amdgpu : Add hive ras recovery check
>   drm/amdgpu: update retry times for psp BL wait
>
> Bas Nieuwenhuizen (1):
>   drm/amd/pm: Handle non-terminated overdrive commands.
>
> Bokun Zhang (4):
>   drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1
>   drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P2
>   drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P3
>   drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P4
>
> Candice Li (1):
>   drm/amdgpu: Log UE corrected by replay as correctable error
>
> Colin Ian King (1):
>   drm/amd/display: Fix a handful of spelling mistakes in dml_print output
>
> Felix Kuehling (2):
>   drm/amdgpu: Fix possible null pointer dereference
>   drm/amdgpu: Reserve fences for VM update
>
> Hawking Zhang (2):
>   drm/amdgpu: Enable software RAS in vcn v4_0_3
>   drm/amdgpu: Add UVD_VCPU_INT_EN2 to dpg sram
>
> Jesse Zhang (1):
>   drm/amdkfd:remove unused code
>
> Jiapeng Chong (2):
>   drm/amdkfd: clean up some inconsistent indenting
>   drm/amd/display: clean up some inconsistent indenting
>
> Kunwu.Chan (1):
>   drm/amd/pm: Fix a memory leak on an error path
>
> Lang Yu (1):
>   drm/amdgpu/umsch: add suspend and resume callback
>
> Li Ma (2):
>   drm/amdgpu: fix missing stuff in NBIO v7.11
>   drm/amdgpu: add clockgating support for NBIO v7.7.1
>
> Ma Jun (1):
>   drm/amd/pm: Support for getting power1_cap_min value
>
> Mangesh Gadre (1):
>   Revert "drm/amdgpu: Program xcp_ctl registers as needed"
>
> Mario Limonciello (4):
>   drm/amd: Add missing kernel doc for prepare_suspend()
>   drm/amd: Move microcode init step to early_init()
>   drm/amd: Don't parse IMU ucode version if it won't be loaded
>   drm/amd: Read IMU FW version from scratch register during hw_init
>
> Nathan Chancellor (1):
>   drm/amd/display: Respect CONFIG_FRAME_WARN=0 in DML2
>
> Rodrigo Siqueira (2):
>   drm/amd/display: Reduce stack size by splitting function
>   drm/amd/display: Fix stack size issue on DML2
>
> Shiwu Zhang (3):
>   drm/amdgpu: update the xgmi ta interface header
>   drm/amdgpu: prepare the output buffer for GET_PEER_LINKS command
>   drm/amdgpu: support the port num info based on the capability flag
>
> Stanley.Yang (4):
>   drm/amdgpu: Workaround to skip kiq ring test during ras gpu recovery
>   drm/amdgpu: Enable mca debug mode mode when ras enabled
>   drm/amdgpu: Fix delete nodes that have been relesed
>   drm/amdgpu: Enable RAS feature by default for APU
>
> Stylon Wang (2):
>   drm/amd/display: Add missing lines of code in dc.c
>   drm/amd/display: Remove brackets in macro to conform to coding style
>
> Tao Zhou (4):
>   drm/amdgpu: define ras_reset_error_count function
>   drm/amdgpu: replace reset_error_count with amdgpu_ras_reset_error_count
>   drm/amdgpu: add set/get mca debug mode operations
>   drm/amdgpu: drop status query/reset for GCEA 9.4.3 and MMEA 1.8
>
> Yang Li (4):
>   drm/amd/display: clean up some inconsistent indentings
>   

[pull] amdgpu, amdkfd drm-next-6.7

2023-10-20 Thread Alex Deucher
Hi Dave, Sima,

More updates for 6.7.  Mostly bug fixes.

The following changes since commit 27442758e9b4e083bef3f164a1739475c01f3202:

  Merge tag 'amd-drm-next-6.7-2023-10-13' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2023-10-18 16:08:07 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-next-6.7-2023-10-20

for you to fetch changes up to 5b2c54e0d0ea09f7a3b500510731878326e1117e:

  drm/amd/display: Fix stack size issue on DML2 (2023-10-20 15:11:29 -0400)


amd-drm-next-6.7-2023-10-20:

amdgpu:
- SMU 13 updates
- UMSCH updates
- DC MPO fixes
- RAS updates
- MES 11 fixes
- Fix possible memory leaks in error pathes
- GC 11.5 fixes
- Kernel doc updates
- PSP updates
- APU IMU fixes
- Misc code cleanups
- SMU 11 fixes
- OD fix
- Frame size warning fixes
- SR-IOV fixes
- NBIO 7.11 updates
- NBIO 7.7 updates
- XGMI fixes
- devcoredump updates

amdkfd:
- Misc code cleanups
- SVM fixes


Alex Deucher (3):
  drm/amdgpu/pm: update SMU 13.0.0 PMFW version check
  drm/amdgpu/mes11: remove aggregated doorbell code
  drm/amdgpu: update to the latest GC 11.5 headers

Alex Sierra (1):
  drm/amdkfd: remap unaligned svm ranges that have split

André Almeida (3):
  drm/amdgpu: Encapsulate all device reset info
  drm/amdgpu: Move coredump code to amdgpu_reset file
  drm/amdgpu: Create version number for coredumps

Asad Kamal (2):
  drm/amdgpu : Add hive ras recovery check
  drm/amdgpu: update retry times for psp BL wait

Bas Nieuwenhuizen (1):
  drm/amd/pm: Handle non-terminated overdrive commands.

Bokun Zhang (4):
  drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1
  drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P2
  drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P3
  drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P4

Candice Li (1):
  drm/amdgpu: Log UE corrected by replay as correctable error

Colin Ian King (1):
  drm/amd/display: Fix a handful of spelling mistakes in dml_print output

Felix Kuehling (2):
  drm/amdgpu: Fix possible null pointer dereference
  drm/amdgpu: Reserve fences for VM update

Hawking Zhang (2):
  drm/amdgpu: Enable software RAS in vcn v4_0_3
  drm/amdgpu: Add UVD_VCPU_INT_EN2 to dpg sram

Jesse Zhang (1):
  drm/amdkfd:remove unused code

Jiapeng Chong (2):
  drm/amdkfd: clean up some inconsistent indenting
  drm/amd/display: clean up some inconsistent indenting

Kunwu.Chan (1):
  drm/amd/pm: Fix a memory leak on an error path

Lang Yu (1):
  drm/amdgpu/umsch: add suspend and resume callback

Li Ma (2):
  drm/amdgpu: fix missing stuff in NBIO v7.11
  drm/amdgpu: add clockgating support for NBIO v7.7.1

Ma Jun (1):
  drm/amd/pm: Support for getting power1_cap_min value

Mangesh Gadre (1):
  Revert "drm/amdgpu: Program xcp_ctl registers as needed"

Mario Limonciello (4):
  drm/amd: Add missing kernel doc for prepare_suspend()
  drm/amd: Move microcode init step to early_init()
  drm/amd: Don't parse IMU ucode version if it won't be loaded
  drm/amd: Read IMU FW version from scratch register during hw_init

Nathan Chancellor (1):
  drm/amd/display: Respect CONFIG_FRAME_WARN=0 in DML2

Rodrigo Siqueira (2):
  drm/amd/display: Reduce stack size by splitting function
  drm/amd/display: Fix stack size issue on DML2

Shiwu Zhang (3):
  drm/amdgpu: update the xgmi ta interface header
  drm/amdgpu: prepare the output buffer for GET_PEER_LINKS command
  drm/amdgpu: support the port num info based on the capability flag

Stanley.Yang (4):
  drm/amdgpu: Workaround to skip kiq ring test during ras gpu recovery
  drm/amdgpu: Enable mca debug mode mode when ras enabled
  drm/amdgpu: Fix delete nodes that have been relesed
  drm/amdgpu: Enable RAS feature by default for APU

Stylon Wang (2):
  drm/amd/display: Add missing lines of code in dc.c
  drm/amd/display: Remove brackets in macro to conform to coding style

Tao Zhou (4):
  drm/amdgpu: define ras_reset_error_count function
  drm/amdgpu: replace reset_error_count with amdgpu_ras_reset_error_count
  drm/amdgpu: add set/get mca debug mode operations
  drm/amdgpu: drop status query/reset for GCEA 9.4.3 and MMEA 1.8

Yang Li (4):
  drm/amd/display: clean up some inconsistent indentings
  drm/amd/display: Remove duplicated include in dce110_hwseq.c
  drm/amd/display: Remove unneeded semicolon
  drm/amd/display: Simplify bool conversion

Yang Wang (1):
  drm/amdgpu: fix typo for amdgpu ras error data print

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|   25 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c|   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |   96 +-