From patchwork Fri Jul 17 13:20:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 11670125 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A9C77138C for ; Fri, 17 Jul 2020 13:20:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 870E6206F4 for ; Fri, 17 Jul 2020 13:20:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L+owDBPz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 870E6206F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 865DC6EDA3; Fri, 17 Jul 2020 13:20:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8126E6EDA3; Fri, 17 Jul 2020 13:20:31 +0000 (UTC) Received: by mail-qv1-xf32.google.com with SMTP id di5so4196237qvb.11; Fri, 17 Jul 2020 06:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fLXyShUf6/DZBrX34fG033JRyY0rlWyqS3vjBZzP0bM=; b=L+owDBPziXwgavU/D4eniJj2/aenZF0mxAFzGjSmXJX7R+vNnhVl7LjFxsny/ED4aR EiC2Ibk3D1I4/5Pdc0V5gP7rcgq6gDmxnj0RzMrIKwOvVjUbgGZfmwGa/pa1JxErwOO1 i6aXIc6zlbICmBOqlNaJrLfIoUpEjZvkiJu6T9EYDC0KHixnSr5KYKaS6zWCOj+65aCr nBWaDdaUTps9A/zEbYREiWJHtFqOJHKhK70pjWtzUd57JrJGjQLrip8XVssCiHje//OA iPdZb88+o0jDhjps83vmLIUIelWoQ4ZJV+ZaAlu4D2ddU6COFkvlkelX6ogvH0/bl0jO LnRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fLXyShUf6/DZBrX34fG033JRyY0rlWyqS3vjBZzP0bM=; b=dn2vcQlRf+smMKZRD/x1wwMd82uukS3ewOV87UhqzSM/RuhHvHEHd8BQW8HiQ3uTtF 5z7E7SPcmLPxaJvY2RjIEgM9egpHMQvO95N7yvcAyAVtC+pzHyk+2+5WbYnc3W6YxEaC GAxQqZq3JDeFwoB543Mc28YYVIAJPAiknp8zFImHD2s61LTGG87R8v7TJiv8psRPP8Kp KK3B1bDwe1n6CUp37qi62v5Ph8EcUagZk9R0vftrCuOBlPcPiGJhgU/u2XYsKITBZNjt C1s9fV4rcJXmTOwj0qNaGGwuB8xJKcEHU5ChtWnD7oJtaNTPfcoiKgT+68dkxapZekZ4 CvIQ== X-Gm-Message-State: AOAM53245JKOGuRc3vis7gz0PbpcMwpW8cEhoq2I0WAXLQ+rU/KWt2bg YjGYhEZeoJhaGPJs6DxDEiMvoUUu X-Google-Smtp-Source: ABdhPJx6lMQHJbl4ma48iCgRvpOpbiFq9pRuln7U8D2/fhhA7tusYesztC7J0lRZ97ZJFv04oE3ZGQ== X-Received: by 2002:a05:6214:a6b:: with SMTP id ef11mr9187328qvb.2.1594992029665; Fri, 17 Jul 2020 06:20:29 -0700 (PDT) Received: from localhost.localdomain ([71.219.66.138]) by smtp.gmail.com with ESMTPSA id b10sm9128404qkh.124.2020.07.17.06.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 06:20:29 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, airlied@gmail.com, daniel.vetter@ffwll.ch Subject: [pull] amdgpu, amdkfd drm-next-5.9 Date: Fri, 17 Jul 2020 09:20:22 -0400 Message-Id: <20200717132022.4014-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Daniel, More stuff for 5.9. The following changes since commit 9555152beb1143c85c03f9b9de59863cbbe89f4b: Merge tag 'amd-drm-next-5.9-2020-07-01' of git://people.freedesktop.org/~agd5f/linux into drm-next (2020-07-02 15:17:31 +1000) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux tags/amd-drm-next-5.9-2020-07-17 for you to fetch changes up to 6e14adea0ac3037d923a9591d1a094c115d7947c: drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read() (2020-07-15 13:27:34 -0400) ---------------------------------------------------------------- amd-drm-next-5.9-2020-07-17: amdgpu: - SI UVD/VCE clock support - Updates for Sienna Cichlid - Expose drm rotation property - Atomfirmware updates for renoir - updates to GPUVM hub handling for different register layouts - swSMU restructuring and cleanups - RAS fixes - DC fixes - mode1 reset support for Sienna Cichlid - Add support for Navy Flounder GPUs amdkfd: - Add SMI events watch interface UAPI: - Add amdkfd SMI events watch interface Userspace which uses this interface: https://github.com/RadeonOpenCompute/rocm_smi_lib/commit/2235ede34c456f1c7d3490f6fe74825d442d272e ---------------------------------------------------------------- Alex Deucher (5): drm/amdgpu/atomfirmware: fix vram_info fetching for renoir drm/amdgpu/atomfirmware: update to latest integratedinfotable drm/amdgpu/atomfirmware: update vram info handling for renoir drm/amdgpu: use %u rather than %d for sclk/mclk drm/amdgpu/display: create fake mst encoders ahead of time (v4) Alex Jivin (4): drm/amdgpu: SI support for UVD clock control drm/amdgpu: SI support for VCE clock control drm/amdgpu: SI support for UVD and VCE power managment drm/amdgpu: Move the mutex lock/unlock out Amber Lin (2): drm/amdkfd: Provide SMI events watch include/uapi/linux: Update KFD ioctl version Anthony Koo (6): drm/amd/display: [FW Promotion] Release 1.0.20 drm/amd/display: [FW Promotion] Release 1.0.21 drm/amd/display: [FW Promotion] Release 1.0.22 drm/amd/display: [FW Promotion] Release 0.0.23 drm/amd/display: 3.2.93 drm/amd/display: [FW Promotion] Release 0.0.24 Aric Cyr (2): drm/amd/display: 3.2.92 drm/amd/display: 3.2.94 Aurabindo Pillai (1): drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read() Bhawanpreet Lakha (2): drm/amd/display: Add missing reg mask for dcn3 drm/amd/display: add DC support for navy flounder Boyuan Zhang (5): drm/amdgpu: add navy_flounder vcn firmware support drm/amdgpu: add vcn ip block for navy_flounder drm/amdgpu: enable VCN3.0 PG and CG for navy_flounder drm/amdgpu: enable VCN3.0 DPG for navy_flounder drm/amdgpu: enable JPEG3.0 PG and CG for navy_flounder Changfeng (1): Revert "drm/amd/display: add mechanism to skip DCN init" Chengming Gui (2): drm/amdkfd: Support navy_flounder KFD drm/amdkfd: Add kfd2kgd_funcs for navy_flounder kfd support Chiawen Huang (1): drm/amd/display: reduce sr_xxx_time by 3 us when ppt disable Colin Ian King (2): drm/amd/display: remove redundant initialization of variable result drm/amdgpu: fix spelling mistake "Falied" -> "Failed" Dan Carpenter (1): drm/amd/display: remove an unnecessary NULL check Dmytro Laktyushkin (4): drm/amd/display: Enable 4 to 1 mpc combine for max detile use drm/amd/display: Add diags scaling log by default drm/amd/display: update dml var drm/amd/display: fix dcn3 p_state_change_support validation (v2) Evan Quan (35): drm/amd/powerplay: drop unnecessary "@" on OD sysfs output drm/amd/powerplay: fix compile error with ARCH=arc drm/amd/powerplay: correct the .get_workload_type() pointer drm/amd/powerplay: drop unnecessary wrappers around clock retrieving drm/amd/powerplay: bypass wrapper on retrieving current clock frequency drm/amd/powerplay: unshare the code for retrieving current clock frequency drm/amd/powerplay: drop unused code and wrapper around clock retrieving drm/amd/powerplay: put setting hard limit common code in smu_v11_0.c drm/amd/powerplay: revise calling chain on setting soft limit drm/amd/powerplay: revise calling chain on retrieving frequency range drm/amd/powerplay: put dpm frequency setting common code in smu_v11_0.c drm/amd/powerplay: add more members for dpm table drm/amd/powerplay: implement a common set dpm table API for smu V11 drm/amd/powerplay: update Arcturus default dpm table setting drm/amd/powerplay: update Navi10 default dpm table setup drm/amd/powerplay: update Sienna Cichlid default dpm table setup drm/amd/powerplay: add new UMD pstate data structure drm/amd/powerplay: update UMD pstate clock settings drm/amd/powerplay: update the common API for performance level setting drm/amd/powerplay: drop unnecessary Arcturus specific APIs drm/amd/powerplay: drop unnecessary Navi1x specific APIs drm/amd/powerplay: drop unnecessary Sienna Cichlid specific APIs drm/amd/powerplay: drop Sienna Cichlid specific set_soft_freq_limited_range drm/amd/powerplay: apply gfxoff disablement/enablement for all SMU11 ASICs drm/amd/powerplay: drop unnecessary wrappers drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2 drm/amd/powerplay: drop unused APIs and parameters drm/amd/powerplay: drop unnecessary wrapper around pcie parameters setting drm/amd/powerplay: correct the supported pcie GenSpeed and LaneCount drm/amd/powerplay: correct Navi1X temperature limit settings drm/amd/powerplay: correct Sienna Cichlid temperature limit settings drm/amd/powerplay: cache the software_shutdown_temp drm/amd/powerplay: sort the call flow on temperature ranges retrieving drm/amd/powerplay: maximum the code sharing on thermal irq setting drm/amd/powerplay: drop unused code around thermal range setting Felix Kuehling (3): drm/amdgpu: Clean up KFD VMID assignment drm/amdgpu: Let KFD use more VMIDs on Arcturus drm/amdkfd: Remove redundant kfd2kgd interface lookup Hawking Zhang (1): Revert "drm/amdgpu: support access regs outside of mmio bar" Huang Rui (15): drm/amdgpu: asd function needs to be unloaded in suspend phase drm/amdgpu: add TMR destory function for psp drm/amdgpu: add register distance members into vmhub structure drm/amdgpu: use register distance member instead of hardcode in GMC9 drm/amdgpu: use register distance member instead of hardcode in GMC10 drm/amdgpu: use register distance member instead of hardcode in VCN1/JEPG1 drm/amdgpu: use register distance member instead of hardcode in UVD7/VCE4 drm/amdgpu: use register distance member instead of hardcode in VCN2/JEPG2 drm/amdgpu: use register distance member instead of hardcode in gfxhub v1 drm/amdgpu: use register distance member instead of hardcode in gfxhub v2 drm/amdgpu: use register distance member instead of hardcode in gfxhub v2.1 drm/amdgpu: use register distance member instead of hardcode in mmhub v1 drm/amdgpu: use register distance member instead of hardcode in mmhub v2 drm/amdgpu: use register distance member instead of hardcode in mmhub v9.4 drm/amdgpu: expand to add multiple trap event irq id Igor Kravchenko (1): drm/amd/display: Register init Jack Xiao (2): drm/amdgpu/gfx10: fix race condition for kiq drm/amdgpu: fix preemption unit test Jack Zhang (5): drm/amd/sriov skip jped ip block and close pgcg flags drm/amdgpu: optimize rlcg write for gfx_v10 drm/amd/sriov add mmsch_v3 interface drm/amd/sriov porting sriov cap to vcn3.0 drm/amd/sriov skip vcn powergating and dec_ring_test Jaehyun Chung (2): drm/amd/display: Fix incorrect rounding for 10Hz refresh range drm/amd/display: Send VSIF on unsupported modes on DAL Jiansong Chen (32): drm/amdgpu: add navy_flounder asic type drm/amdgpu: add navy_flounder gpu info firmware drm/amdgpu: set fw load type for navy_flounder drm/amdgpu: set asic family and ip blocks for navy_flounder drm/amdgpu/gfx10: add support for navy_flounder firmware drm/amdgpu/gmc10: add navy_flounder support drm/amdgpu/gfx10: add clockgating support for navy_flounder drm/amdgpu/soc15: add support for navy_flounder drm/amdgpu: initialize IP offset for navy_flounder drm/amdgpu: add support on mmhub for navy_flounder drm/amdgpu: add common ip block for navy_flounder drm/amdgpu: add gmc ip block for navy_flounder drm/amdgpu: add ih ip block for navy_flounder drm/amdgpu: add gfx ip block for navy_flounder drm/amdgpu: add sdma ip block for navy_flounder drm/amdgpu: add virtual display support for navy_flounder. drm/amdgpu: force pa_sc_tile_steering_override to 0 for navy_flounder drm/amdgpu: add gmc cg support for navy_flounder drm/amdgpu/powerplay: add smu support for navy_flounder drm/amdgpu: add smu block for navy_flounder drm/amdgpu: add psp support for navy_flounder drm/amdgpu: add psp block for navy_flounder drm/amdgpu: use front door firmware loading for navy_flounder drm/amdgpu/gfx10: add gc golden setting for navy_flounder drm/amdgpu: enable cp_fw_write_wait for navy_flounder drm/amdgpu: enable GFX clock gating for navy_flounder drm/amdgpu: support athub cg setting for navy_flounder drm/amd/powerplay: set VCN1 pg only for sienna_cichlid drm/amdgpu: enable athub/mmhub PG for navy_flounder drm/amdgpu: enable mc CG and LS for navy_flounder drm/amdgpu: enable hdp CG and LS for navy_flounder drm/amdgpu: enable ih CG for navy_flounder Jing Zhou (1): drm/amd/display: Add register key and status for edid John Clements (3): drm/amdgpu: updated ta ucode header drm/amdgpu: updated ta ucode loading drm/amdgpu: correct ta header v2 ucode init start address Joseph Greathouse (2): drm/amdkfd: Update hardware scheduling time quanta drm/amdkfd: Add Arcturus GWS support and fix VG10 Joshua Aberback (2): drm/amd/display: Preserve gpu memory allocation for life of dc drm/amd/display: Request PHYCLK adjustment on PHY enable/disable Josip Pavic (1): drm/amd/display: handle failed allocation during stream construction Likun Gao (7): drm/amd/powerplay: change method to set board parameters drm/amd/powerplay: update driver if file for sienna_cichlid drm/amdgpu: use RREG32_KIQ to read register when get cg state drm/amdgpu: fix coding error of mmhub pg enablement drm/amdgpu: remove unnecessary logic of ASIC check drm/amdgpu: enable gpu recovery for sienna cichlid drm/amd/powerplay: update driver if file for sienna_cichlid Marek Olšák (1): drm/amdgpu: don't do soft recovery if gpu_recovery=0 Mikita Lipski (1): drm/amd/display: Reuse parsing code of debugfs write buffer Monk Liu (1): drm/amdgpu: make IB test synchronize with init for SRIOV(v2) Nicholas Kazlauskas (6): drm/amd/display: Only revalidate bandwidth on medium and fast updates drm/amd/display: Add missing CW4 programming for DCN30 drm/amd/display: Use VUPDATE_NO_LOCK instead of VUPDATE for dcn30 drm/amd/display: Fix CSC remap matrix not being applied on dcn30 drm/amd/display: Add missing DCN30 registers and fields for OTG_CRC_CNTL2 drm/amd/display: Allow for vblank enabled with no active planes Nirmoy Das (1): drm/amdgpu: minor cleanup of phase1 suspend code Pierre-Loup A. Griffais (1): drm/amd/display: Create plane rotation property Rajneesh Bhardwaj (1): drm/amdkfd: fix kernel-doc and cleanup Roman Li (1): drm/amd/display: Remove VSC infoframe dep on DMCU Sung Lee (1): drm/amd/display: Power down hardware if set mode is not called before timeout Tao Zhou (1): drm/amdgpu: configure navy_flounder gfx according to gfx 10.3 Tiezhu Yang (1): gpu/drm: Remove debug info about CPU address Tom Rix (1): drm/radeon: fix double free Wenhui Sheng (10): drm/amdgpu: request init data in virt detection drm/amdgpu: move reg base init forward for soc15 drm/amdgpu: invoke req full access early enough drm/amdgpu: merge atombios init block drm/amdgpu: reduce ip discovery data reading size drm/amdgpu: correct discovery_tmr_size init val drm/amd/powerplay: add SMU mode1 reset drm/amdgpu: RAS emergency restart logic refine drm/amdgpu: enable mode1 reset drm/amdgpu: add module parameter choose reset mode Wesley Chalmers (1): drm/amd/display: Add logger for SMU msg Wyatt Wood (1): drm/amd/display: Initialize psr debug flags to 0 Xiaojie Yuan (2): drm/amdgpu: use ARRAY_SIZE() to add amdgpu debugfs files drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr() Yongqiang Sun (1): drm/amd/display: Handle SMU msg response chen gong (2): drm/amdgpu/powerplay: Target power profile mode should be the second parameter of renoir_set_power_profile_mode drm/amdgpu/powerplay: Modify SMC message name for setting power profile mode hersen wu (2): drm/amd/display: OLED panel backlight adjust not work with external display connected drm/amd/display: p-state warning occurs while changing resolution from 120hz to 60hz jinlong zhang (1): drm/amd/display: check dpcd read status of DP_DOWNSTREAM_PORT_0 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 28 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 10 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 143 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 + drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 79 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 172 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 11 + drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 26 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 12 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 28 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 1 + drivers/gpu/drm/amd/amdgpu/athub_v2_1.c | 1 + drivers/gpu/drm/amd/amdgpu/cik.c | 8 + drivers/gpu/drm/amd/amdgpu/cikd.h | 2 - drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 132 +++- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 48 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 47 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 47 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 75 +- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 55 +- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 45 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 52 +- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 46 +- drivers/gpu/drm/amd/amdgpu/mmsch_v3_0.h | 130 +++ drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 1 + drivers/gpu/drm/amd/amdgpu/nv.c | 97 ++- drivers/gpu/drm/amd/amdgpu/nv.h | 1 + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 12 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 34 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 119 +-- drivers/gpu/drm/amd/amdgpu/si.c | 365 ++++++++- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 19 + drivers/gpu/drm/amd/amdgpu/si_enums.h | 1 - drivers/gpu/drm/amd/amdgpu/sid.h | 35 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 36 +- drivers/gpu/drm/amd/amdgpu/soc15.h | 1 + drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 3 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 371 ++++++++- drivers/gpu/drm/amd/amdgpu/vi.c | 16 +- drivers/gpu/drm/amd/amdgpu/vi.h | 1 + drivers/gpu/drm/amd/amdgpu/vid.h | 2 - drivers/gpu/drm/amd/amdkfd/Makefile | 1 + drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 18 + drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_device.c | 35 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 31 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 65 +- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 227 ++++++ drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 29 + drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 229 +++--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 12 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 259 +++--- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 53 +- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 3 + drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 3 - .../dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c | 39 +- .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 35 +- .../drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 70 +- .../dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c | 51 +- .../dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.h | 1 + .../amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 53 +- .../dc/clk_mgr/dcn30/dcn30_clk_mgr_smu_msg.c | 65 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 21 +- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 105 +-- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 16 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 39 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 19 +- drivers/gpu/drm/amd/display/dc/dc.h | 6 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 28 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h | 2 - drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 1 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 156 ++-- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h | 1 + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_init.c | 1 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 27 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c | 1 + .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 24 +- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c | 1 + .../display/dc/dcn30/dcn30_dio_stream_encoder.h | 1 + drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h | 9 + .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 46 +- .../amd/display/dc/dml/dcn30/display_mode_vba_30.c | 8 +- .../drm/amd/display/dc/dml/display_mode_structs.h | 2 + .../gpu/drm/amd/display/dc/dml/display_mode_vba.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 3 + .../drm/amd/display/dc/inc/hw/clk_mgr_internal.h | 5 + drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 1 + .../amd/display/dc/irq/dcn30/irq_service_dcn30.c | 28 +- drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 5 +- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 23 +- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c | 15 - drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h | 4 - drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.c | 10 + drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h | 6 + drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c | 21 +- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 40 +- drivers/gpu/drm/amd/display/include/logger_types.h | 4 +- .../drm/amd/display/modules/freesync/freesync.c | 37 +- .../gpu/drm/amd/display/modules/inc/mod_freesync.h | 7 +- drivers/gpu/drm/amd/include/atomfirmware.h | 78 ++ drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 281 +++---- drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 878 ++++++++------------- drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 51 +- .../powerplay/inc/smu11_driver_if_sienna_cichlid.h | 27 +- drivers/gpu/drm/amd/powerplay/inc/smu_types.h | 1 + drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h | 55 +- drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h | 11 - drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 656 +++++++-------- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 277 +++++-- drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 20 - drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c | 714 ++++++++--------- drivers/gpu/drm/amd/powerplay/smu_internal.h | 14 +- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 461 +++++++---- drivers/gpu/drm/amd/powerplay/smu_v12_0.c | 121 --- drivers/gpu/drm/radeon/ci_dpm.c | 7 +- drivers/gpu/drm/radeon/radeon_fence.c | 4 +- include/drm/amd_asic_type.h | 1 + include/uapi/linux/kfd_ioctl.h | 22 +- 158 files changed, 5162 insertions(+), 3019 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/mmsch_v3_0.h create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h