Hi Dave, Daniel, Last pull for 6.2. Support for some new GC 11.x variants and preemption support for GC 9.x. The rest is bug fixes. The following changes since commit 10d2d1fc05f03ee1626b60761a3425622767513e: drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read" (2022-11-23 10:31:31 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.2-2022-12-02 for you to fetch changes up to 4670ac706ff9b3d0adb766ef9e93cc36d9dda474: drm/amdgpu: expand on GPUVM documentation (2022-12-02 10:06:00 -0500) ---------------------------------------------------------------- amd-drm-next-6.2-2022-12-02: amdgpu: - Fix CPU stalls when allocating large amounts of system memory - SR-IOV fixes - BACO fixes - Enable GC 11.0.4 - Enable PSP 13.0.11 - Enable SMU 13.0.11 - Enable NBIO 7.7.1 - Fix reported VCN capabilities for RDNA2 - Misc cleanups - PCI ref count fixes - DCN DPIA fixes - DCN 3.2.x fixes - Documentation updates - GC 11.x fixes - VCN RAS fixes - APU fix for passthrough - PSR fixes - GFX preemption support for gfx9 - SDMA fix for S0ix amdkfd: - Enable KFD support for GC 11.0.4 - Misc cleanups - Fix memory leak ---------------------------------------------------------------- Alex Deucher (3): drm/amd/display: use the proper fb offset for DM drm/amdgpu: add GART, GPUVM, and GTT to glossary drm/amdgpu: expand on GPUVM documentation Alvin Lee (3): drm/amd/display: Don't overwrite subvp pipe info in fast updates drm/amd/display: Retain phantom pipes when min transition into subvp (#7358) drm/amd/display: Fix DTBCLK disable requests and SRC_SEL programming Aric Cyr (1): drm/amd/display: 3.2.214 Dan Carpenter (1): drm/amdkfd: Remove unnecessary condition in kfd_topology_add_device() Dillon Varone (4): drm/amd/display: MALL SS calculations should iterate over all pipes for cursor drm/amd/display: Fix arithmetic error in MALL size calculations for subvp drm/amd/display: Use DCC meta pitch for MALL allocation requirements drm/amd/display: program output tf when required Dmytro Laktyushkin (1): drm/amd/display: set per pipe dppclk to 0 when dpp is off Guchun Chen (4): drm/amd/pm/smu11: BACO is supported when it's in BACO state drm/amd/pm/smu11: poll BACO status after RPM BACO exits drm/amdgpu: add printing to indicate rpm completeness drm/amdgpu: use dev_dbg to print messages in runtime cycle Hamza Mahfooz (1): drm/amd/display: add FB_DAMAGE_CLIPS support Jack Xiao (2): drm/amd/amdgpu: update mes11 api def drm/amdgpu/mes11: enable reg active poll James Zhu (1): drm/amdgpu: fix stall on CPU when allocate large system memory Jiadong.Zhu (4): drm/amdgpu: Introduce gfx software ring (v9) drm/amdgpu: Add software ring callbacks for gfx9 (v8) drm/amdgpu: Modify unmap_queue format for gfx9 (v6) drm/amdgpu: MCBP based on DRM scheduler (v9) Konstantin Meskhidze (2): drm/amdkfd: Fix memory leakage drm/amdgpu: Fix logic error Leo Liu (1): drm/amdgpu: enable Vangogh VCN indirect sram mode Liang He (1): drm/amdgpu: Fix potential double free and null pointer dereference Likun Gao (1): drm/amdgpu: skip vram reserve on firmware_v2_2 for bare-metal Peter Maucher (2): drm/amdgpu: improve GART and GTT documentation drm/amdgpu: mention RDNA support in docu Prike Liang (1): drm/amdgpu/sdma_v4_0: turn off SDMA ring buffer in the s2idle suspend Randy Dunlap (1): drm/amdgpu: update docum. filename following rename Saleemkhan Jamadar (1): drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN Stylon Wang (2): drm/amd/display: Fix race condition in DPIA AUX transfer drm/amd/display: Create debugfs to tell if connector is DPIA link Tao Zhou (1): drm/amdgpu: enable VCN RAS poison for VCN v4.0 Tim Huang (4): drm/amdgpu/discovery: add PSP IP v13.0.11 support drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11 drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4 drm/amdgpu: enable PSP IP v13.0.11 support Tong Liu01 (1): drm/amdgpu: add drv_vram_usage_va for virt data exchange Veerabadhran Gopalakrishnan (1): amdgpu/nv.c: Corrected typo in the video capabilities resolution Wesley Chalmers (1): drm/amd/display: Use the largest vready_offset in pipe group Xiongfeng Wang (2): drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios() drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios() Yifan Zhang (14): drm/amdgpu/discovery: enable soc21 common for GC 11.0.4 drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4 drm/amdgpu/discovery: enable gfx v11 for GC 11.0.4 drm/amdgpu/discovery: enable mes support for GC v11.0.4 drm/amdgpu: set GC 11.0.4 family drm/amdgpu/discovery: set the APU flag for GC 11.0.4 drm/amdgpu: add gfx support for GC 11.0.4 drm/amdgpu: add soc21 common ip block support for GC 11.0.4 drm/amdgpu: add gmc v11 support for GC 11.0.4 drm/amdkfd: add GC 11.0.4 KFD support drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11 drm/amdgpu: add smu 13 support for smu 13.0.11 drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11 drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1 Yu Songping (1): swsmu/amdgpu_smu: Fix the wrong if-condition YuBiao Wang (1): drm/amdgpu: Add nv mailbox irq in soc21 Yushan Zhou (1): drm/amdgpu: remove redundant NULL check ye xingchen (1): drm/amdgpu: use sysfs_emit() to instead of scnprintf() Documentation/gpu/amdgpu/amdgpu-glossary.rst | 23 + Documentation/gpu/amdgpu/driver-core.rst | 4 +- Documentation/gpu/amdgpu/index.rst | 2 +- drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 18 +- drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 54 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | 50 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 39 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 12 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 14 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | 516 +++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h | 103 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 54 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 43 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 - drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 296 ++++++++++-- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 1 + drivers/gpu/drm/amd/amdgpu/nv.c | 28 +- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 3 + drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 24 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 24 +- drivers/gpu/drm/amd/amdgpu/soc15d.h | 2 + drivers/gpu/drm/amd/amdgpu/soc21.c | 30 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 24 + drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 281 ++++++----- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 17 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 23 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 10 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 + .../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 2 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 23 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_stream.h | 11 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 30 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 34 +- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | 6 +- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 8 +- .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.c | 66 ++- .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.h | 13 +- .../amd/display/dc/dcn32/dcn32_resource_helpers.c | 15 +- .../drm/amd/display/dc/dcn321/dcn321_resource.c | 2 + .../gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 3 + .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 9 +- drivers/gpu/drm/amd/display/dc/inc/core_types.h | 4 +- drivers/gpu/drm/amd/include/mes_v11_api_def.h | 6 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 +- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 28 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 3 + .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 17 +- drivers/gpu/drm/radeon/radeon_bios.c | 1 + 67 files changed, 1697 insertions(+), 364 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h