Hi Dave, Daniel, Fixes for 5.17. Now with more S-o-b. The following changes since commit a342655865b2f14d1fbf346356d3b3360e63e872: drm/radeon: Fix syntax errors in comments (2021-12-14 16:11:02 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.17-2021-12-30 for you to fetch changes up to 0637d41786a3a9551f33ad8e15bdb40416362028: drm/amdgpu: no DC support for headless chips (2021-12-30 08:54:45 -0500) ---------------------------------------------------------------- amd-drm-next-5.17-2021-12-30: amdgpu: - Suspend/resume fixes - Fence fix - Misc code cleanups - IP discovery fixes - SRIOV fixes - RAS fixes - GMC 8 VRAM detection fix - FRU fixes for Aldebaran - Display fixes amdkfd: - SVM fixes - IP discovery fixes ---------------------------------------------------------------- Alex Deucher (5): drm/amdgpu: clean up some leftovers from bring up drm/amdgpu: add support for IP discovery gc_info table v2 drm/amdgpu: fix runpm documentation drm/amdgpu: always reset the asic in suspend (v2) drm/amdgpu: no DC support for headless chips Alvin Lee (1): drm/amd/display: Fix check for null function ptr Angus Wang (1): drm/amd/display: Changed pipe split policy to allow for multi-display pipe split Anthony Koo (1): drm/amd/display: [FW Promotion] Release 0.0.98 Aric Cyr (1): drm/amd/display: 3.2.167 Bokun Zhang (1): drm/amdgpu: Filter security violation registers Changcheng Deng (1): drm/amdkfd: use max() and min() to make code cleaner Charlene Liu (1): drm/amd/display: fix B0 TMDS deepcolor no dislay issue Evan Quan (1): drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform George Shen (2): drm/amd/display: Limit max link cap with LTTPR caps drm/amd/display: Remove CR AUX RD Interval limit for LTTPR Guchun Chen (2): drm/amdkfd: correct sdma queue number in kfd device init (v3) drm/amdgpu: drop redundant semicolon Huang Rui (1): drm/amdgpu: introduce new amdgpu_fence object to indicate the job embedded fence Jiapeng Chong (1): drm/amd/display: Fix warning comparing pointer to 0 José Expósito (1): drm/amd/display: fix dereference before NULL check Kent Russell (4): drm/amdgpu: Increase potential product_name to 64 characters drm/amdgpu: Enable unique_id for Aldebaran drm/amdgpu: Only overwrite serial if field is empty drm/amdgpu: Access the FRU on Aldebaran Lai, Derek (1): drm/amd/display: Added power down for DCN10 Leslie Shi (1): drm/amdgpu: Call amdgpu_device_unmap_mmio() if device is unplugged to prevent crash in GPU initialization failure Lijo Lazar (1): drm/amd/pm: Fix xgmi link control on aldebaran Marina Nikolic (1): amdgpu/pm: Make sysfs pm attributes as read-only for VFs Mario Limonciello (2): drivers/amd/pm: smu13: use local variable adev drm/amd/pm: restore SMU version print statement for dGPUs Martin Leung (1): drm/amd/display: Undo ODM combine Nicholas Kazlauskas (4): drm/amd/display: Fix USB4 null pointer dereference in update_psp_stream_config drm/amd/display: Block z-states when stutter period exceeds criteria drm/amd/display: Send s0i2_rdy in stream_count == 0 optimization drm/amd/display: Set optimize_pwr_state for DCN31 Philip Yang (1): drm/amdkfd: fix svm_bo release invalid wait context warning Prike Liang (1): drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume Rajneesh Bhardwaj (1): drm/amdgpu: Don't inherit GEM object VMAs in child process Shen, George (1): drm/amd/display: Refactor vendor specific link training sequence Surbhi Kakarya (1): drm/amdgpu: Check the memory can be accesssed by ttm_device_clear_dma_mappings. Tao Zhou (5): drm/amdgpu: add gpu reset control for umc page retirement drm/amdkfd: add reset parameter for unmap queues drm/amdkfd: add reset queue function for RAS poison (v2) drm/amdkfd: reset queue which consumes RAS poison (v2) drm/amdgpu: save error count in RAS poison handler Victor Skvortsov (6): drm/amdgpu: Separate vf2pf work item init from virt data exchange drm/amdgpu: Add *_SOC15_IP_NO_KIQ() macro definitions drm/amdgpu: Modify indirect register access for gmc_v9_0 sriov drm/amdgpu: Modify indirect register access for amdkfd_gfx_v9 sriov drm/amdgpu: get xgmi info before ip_init drm/amdgpu: Modify indirect register access for gfx9 sriov Wenjing Liu (5): drm/amd/display: define link res and make it accessible to all link interfaces drm/amd/display: populate link res in both detection and validation drm/amd/display: access hpo dp link encoder only through link resource drm/amd/display: support dynamic HPO DP link encoder allocation drm/amd/display: get and restore link res map Wesley Chalmers (1): drm/amd/display: Add reg defs for DCN303 Yizhuo Zhai (1): drm/amd/display: Fix the uninitialized variable in enable_stream_features() Zongmin Zhou (1): drm/amdgpu: fixup bad vram size on gmc v8 chen gong (1): drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled sashank saye (1): drm/amdgpu: Send Message to SMU on aldebaran passthrough for sbr handling yipechai (1): drm/amdgpu: Remove the redundant code of psp bootloader functions drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 46 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 78 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 126 ++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | 25 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 167 ++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 36 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 117 +++-- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 - drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 63 ++- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 78 +--- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 83 ++-- drivers/gpu/drm/amd/amdgpu/soc15_common.h | 5 + drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 7 + drivers/gpu/drm/amd/amdkfd/kfd_device.c | 80 +++- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 28 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 5 + drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 44 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 + drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 35 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 3 +- .../drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 2 +- .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 1 + drivers/gpu/drm/amd/display/dc/core/dc.c | 18 - drivers/gpu/drm/amd/display/dc/core/dc_debug.c | 2 + drivers/gpu/drm/amd/display/dc/core/dc_link.c | 241 +++++++--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 501 ++++++++++++++++++--- drivers/gpu/drm/amd/display/dc/core/dc_link_dpia.c | 48 +- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 63 +-- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 199 +++++--- drivers/gpu/drm/amd/display/dc/dc.h | 3 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 15 +- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 14 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_init.c | 1 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 5 +- .../gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c | 3 +- .../drm/amd/display/dc/dcn201/dcn201_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 13 +- .../drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +- .../drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn303/dcn303_dccg.h | 20 +- .../drm/amd/display/dc/dcn303/dcn303_resource.c | 2 +- .../display/dc/dcn31/dcn31_hpo_dp_link_encoder.c | 6 +- .../display/dc/dcn31/dcn31_hpo_dp_link_encoder.h | 3 +- drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c | 1 + .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 27 +- .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.h | 31 ++ drivers/gpu/drm/amd/display/dc/dml/dml_wrapper.c | 2 +- drivers/gpu/drm/amd/display/dc/inc/core_status.h | 2 + drivers/gpu/drm/amd/display/dc/inc/core_types.h | 17 + drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h | 15 +- drivers/gpu/drm/amd/display/dc/inc/dc_link_dpia.h | 5 +- .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h | 3 +- drivers/gpu/drm/amd/display/dc/inc/link_hwss.h | 10 +- drivers/gpu/drm/amd/display/dc/inc/resource.h | 6 +- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 4 +- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 4 +- .../amd/include/asic_reg/nbio/nbio_7_2_0_offset.h | 2 - .../amd/include/asic_reg/nbio/nbio_7_2_0_sh_mask.h | 12 - drivers/gpu/drm/amd/include/discovery.h | 49 ++ drivers/gpu/drm/amd/pm/amdgpu_pm.c | 9 +- drivers/gpu/drm/amd/pm/inc/aldebaran_ppsmc.h | 4 +- drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | 6 +- drivers/gpu/drm/amd/pm/inc/smu_types.h | 3 +- drivers/gpu/drm/amd/pm/inc/smu_v11_0.h | 2 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 13 +- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 3 +- drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 15 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 15 +- 83 files changed, 1814 insertions(+), 747 deletions(-)