From patchwork Tue Aug 6 20:03:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 11079601 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6847E1399 for ; Tue, 6 Aug 2019 20:03:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 542A92882A for ; Tue, 6 Aug 2019 20:03:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 485C62883D; Tue, 6 Aug 2019 20:03:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AB6A02882A for ; Tue, 6 Aug 2019 20:03:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49F046E54E; Tue, 6 Aug 2019 20:03:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E96A6E54C; Tue, 6 Aug 2019 20:03:22 +0000 (UTC) Received: by mail-qt1-x842.google.com with SMTP id a15so85868643qtn.7; Tue, 06 Aug 2019 13:03:22 -0700 (PDT) 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=uOjtgKCeIinmGD65FMgGvwDzAqLBcBG+7qIRn7QW970=; b=b9JDgy1xYxY48J7edMF/Q3Zq0vGzokiaeOqOM+6gUjlGbHoh9PJYYpnXLDQLNZWmkZ QQnsQysITW+VsjSzlKKk7cjkeuBqrtKtEdiHZ9PDCQedGhXU46A9Nr9H7cLVN/ojY63p AT+gMHHMQPc7anxZ/42lFHyhqm3Ar7/1n1NCUW+QjqwQJ2yCpKD6Zj7hVby7/kT5GEpP /31mfi3GXM93LjkYv7uGqrI18x+pnRgBVCH1aB50Db2fQBMEyUqjr/iFJfMSfx4Piviz w00tvHwnpCtaCuCOEpyaakWavSTfLpraZF6xtAtwZ89DQX43YUpOKjUMvj7Z0MxyV8xf bSaw== X-Gm-Message-State: APjAAAVxoKUafxV5st7mCCyuWbs8sCbWQPtsw/LpDzO555jYA35wwqoy z6WS4SPjEYg1CaPZi/Yd/DsC75vzwfw= X-Google-Smtp-Source: APXvYqyg95RH3qps6In2nBGbyEjMyGgv0qKmHzLx47zpdFvTPWnyf0TuQcPXaaIZSJW9Vr32lPvUUg== X-Received: by 2002:a0c:bd1d:: with SMTP id m29mr4774243qvg.181.1565121800411; Tue, 06 Aug 2019 13:03:20 -0700 (PDT) Received: from localhost.localdomain ([71.51.170.6]) by smtp.gmail.com with ESMTPSA id j78sm39453987qke.102.2019.08.06.13.03.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 13:03:19 -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, radeon, ttm drm-next-5.4 Date: Tue, 6 Aug 2019 15:03:06 -0500 Message-Id: <20190806200306.23730-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-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=uOjtgKCeIinmGD65FMgGvwDzAqLBcBG+7qIRn7QW970=; b=vDYxy/NpQxPTCqHuDKEDUAfceYiIxbOVf8y77vF917/M2HNd0+KgMpLsFgD0ESYU1F 8ZEp7kGvO57rmYwWCj46hS+r/wJV/km+bRkyCB1LgeFCcRKBbyy588Sl9BDPmYC1wqOD Fwke+kGi68MwH170Pi62tFqep5GCfyvT0V7jxNosw+/k15Rx3aIxJ4izH8ZYK7e7gyjb YdKuSvEJoDqAXDwJLc7/bbUBKAHUZY7fboxM8sh6XqPzcEuIhWKgo/ffMUg7JnuaUiAF ggy6pU6ME+/jC83lb+ibYjg2riMy46UzgqX+IoqBkcX5zYbq3rIfxKASG3qfdKWkw304 fftg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 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" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Daniel, The big updates here are support for new asics (navi14, navi12, arcturus). The following changes since commit 41a5a2a8531f95d18bb4efddea581ccb469e8ee5: drm/amd/display: init res_pool dccg_ref, dchub_ref with xtalin_freq (2019-07-18 14:12:08 -0500) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux tags/drm-next-5.4-2019-08-06 for you to fetch changes up to 2a1e00c3c0d37f65241236d7731ef6bb92f0d07f: gpu: drm: amd: powerplay: Remove logically dead code (2019-08-06 13:53:27 -0500) ---------------------------------------------------------------- drm-next-5.4-2019-08-06: amdgpu: - Add navi14 support - Add navi12 support - Add Arcturus support - Enable mclk DPM for Navi - Misc DC display fixes - Add perfmon support for DF - Add scatter/gather display support for Raven - Improve SMU handling for GPU reset - RAS support for GFX - Drop last of drmP.h - Add support for wiping memory on buffer release - Allow cursor async updates for fb swaps - Misc fixes and cleanups amdkfd: - Add navi14 support - Add navi12 support - Add Arcturus support - CWSR trap handlers updates for gfx9, 10 - Drop last of drmP.h - Update MAINTAINERS radeon: - Misc fixes and cleanups - Make kexec more reliable by tearing down the GPU ttm: - Add release_notify callback uapi: - Add wipe memory on release flag for buffer creation ---------------------------------------------------------------- Alex Deucher (29): drm/amdgpu: disable concurrent flushes on Navi14 drm/amdgpu: consolidate navi14 IP init drm/amdgpu: drop unused function definitions drm/amdgpu: flag arcturus as experimental for now drm/amdgpu/smu: move fan rpm query into the asic specific code drm/amdgpu: add an asic callback to determine the reset method drm/amdgpu: add reset_method asic callback for si drm/amdgpu: add reset_method asic callback for cik drm/amdgpu: add reset_method asic callback for vi drm/amdgpu: add reset_method asic callback for soc15 drm/amdgpu: add reset_method asic callback for navi drm/amdgpu/powerplay: add a new interface to set the mp1 state drm/amdgpu/powerplay: return success if set_mp1_state is not set drm/amdgpu/powerplay: add set_mp1_state for vega20 drm/amdgpu/powerplay: add set_mp1_state for vega10 drm/amdgpu/powerplay: add set_mp1_state for vega12 drm/amdgpu: put the SMC into the proper state on reset/unload drm/amdgpu/powerplay: use proper revision id for navi drm/amdgpu/display: fix the build without CONFIG_DRM_AMD_DC_DSC_SUPPORT drm/amdgpu/gfx10: update golden settings for navi14 drm/amdgpu: drop drmP.h in amdgpu_amdkfd_arcturus.c drm/amdgpu: drop drmP.h from amdgpu_amdkfd_gfx_v10.c drm/amdgpu: drop drmP.h in gfx_v10_0.c drm/amdgpu: drop drmP.h from navi10_ih.c drm/amdgpu: drop drmP.h from nv.c drm/amdgpu: drop drmP.h from sdma_v5_0.c drm/amdgpu: drop drmP.h from vcn_v2_0.c drm/amdgpu: drop drmP.h from vcn_v2_5.c drm/amdkfd: enable KFD support for navi14 Alvin Lee (4): drm/amd/display: Disable Audio on reinitialize hardware drm/amd/display: Remove second initialization of pp_smu drm/amd/display: Wait for flip to complete drm/amd/display: Only enable audio if speaker allocation exists Andrey Grodzovsky (6): drm/amdgpu: Fix hard hang for S/G display BOs. drm/amdgpu: Create helper to clear AMDGPU_GEM_CREATE_CPU_GTT_USWC drm/amdgpu: Add check for USWC support for amdgpu_display_supported_domains drm/amdgpu: Fix amdgpu_display_supported_domains logic. drm/amdgpu: Add amdgpu_asic_funcs.reset_method for Vega20 drm/amdgpu: Fix GPU reset crash regression. Anthony Koo (1): drm/amd/display: add monitor patch to add T7 delay Aric Cyr (7): drm/amd/display: 3.2.36 drm/amd/display: 3.2.37 drm/amd/display: 3.2.38 drm/amd/display: 3.2.39 drm/amd/display: 3.2.40 drm/amd/display: 3.2.41 drm/amd/display: 3.2.42 Bhawanpreet Lakha (4): drm/amd/display: add nv14 cases to amdgpu_dm drm/amd/display: add NAVI14 in resource construct drm/amd/display: add dm block drm/amd/display: add ASICREV defines v2 Boyuan Zhang (3): drm/amdgpu: add Navi12 VCN firmware support drm/amdgpu: add VCN ip block for Navi12 drm/amdgpu: enable DPG mode for Navi12 Charlene Liu (4): drm/amd/display: Split out common HUBP registers and code drm/amd/display: Do not fill Null packet in the blank period drm/amd/display: add set and get clock for testing purposes drm/amd/display: add a option to force the clock at every mode change. Chengming Gui (3): drm/amdgpu/powerplay: add arcturus ppt functions drm/amdgpu/powerplay: add smu11 driver interface for arcturus. (v2) drm/amd/powerplay: get smc firmware and pptable Chiawen Huang (1): drm/amd/display: Add aux tracing log in dce Christian König (1): drm/amdgpu: fix error handling in amdgpu_cs_process_fence_dep Chuhong Yuan (3): drm/amdgpu: Use dev_get_drvdata where possible drm/amd/display: Use dev_get_drvdata drm/radeon: Use dev_get_drvdata where possible Colin Ian King (4): drm/amd/display: fix a missing null check on a failed kzalloc drm/amd/powerplay: fix off-by-one upper bounds limit checks drm/amd/powerplay: fix a few spelling mistakes drm/amdgpu: fix unsigned variable instance compared to less than zero Dale Zhao (1): drm/amd/display: handle active dongle port type is DP++ or DP case David Francis (1): drm/amd/display: Update drm_dsc to reflect native 4.2.0 DSC spec David Galiffi (2): drm/amd/display: Add ability to set preferred link training parameters. drm/amd/display: Incorrect Read Interval Time For CR Sequence Dennis Li (6): drm/amd/include: add bitfield define for EDC registers drm/amd/include: add define of TCP_EDC_CNT_NEW drm/amdgpu: add define for gfx ras subblock drm/amdgpu: add RAS callback for gfx drm/amdgpu: support gfx ras error injection and err_cnt query drm/amdgpu: disable inject for failed subblocks of gfx Derek Lai (2): drm/amd/display: Read max down spread drm/amd/display: allocate 4 ddc engines for RV2 Dingchen Zhang (3): drm/amd/display: add functionality to grab DPRX CRC entries. drm/amd/display: add functionality to get pipe CRC source. drm/amd/display: add pipe CRC sources without disabling dithering. Dmytro Laktyushkin (6): drm/amd/display: fix dsc disable drm/amd/display: Set default block_size, even in unexpected cases drm/amd/display: add hdmi2.1 dsc pps packet programming drm/amd/display: Remove dsc disable_ich flag programming. drm/amd/display: use min disp and dpp clk debug option for dcn2 drm/amd/display: add dcc programming for dual plane Eric Bernstein (1): drm/amd/display: Use helper for determining HDMI signal Eric Yang (5): drm/amd/display: move bw calc code into helpers drm/amd/display: early return when pipe_cnt is 0 in bw validation drm/amd/display: put back front end initialization sequence drm/amd/display: do not read link setting if edp not connected drm/amd/display: fix mpcc assert condition Evan Quan (40): drm/amd/powerplay: correct SW SMU valid mapping check drm/amd/powerplay: input check for unsupported message/clock index drm/amd/powerplay: report bootup clock as max supported on dpm disabled drm/amd/powerplay: no pptable transfer and dpms enabled with "dpm=0" drm/amd/powerplay: some cosmetic fixes drm/amd/powerplay: minor fixes around SW SMU power and fan setting drm/amd/powerplay: fix null pointer dereference around dpm state relates drm/amd/powerplay: enable SW SMU reset functionality drm/amd/powerplay: add smcdpminfo table v4_6 support drm/amd/powerplay: add SW SMU interface for dumping pptable out (v2) drm/amd/powerplay: update smu11_driver_if_arcturus.h drm/amd/powerplay: update arcturus_ppsmc.h drm/amd/powerplay: update arcturus_ppt.c/h V3 drm/amd/powerplay: enable SW SMU routine support for arcturus drm/amd/powerplay: initialize arcturus MP1 and THM base address drm/amd/powerplay: enable arcturus powerplay drm/amdgpu: correct VCN powergate routine for acturus drm/amd/powerplay: hold on the arcturus gfx dpm support in driver drm/amd/powerplay: add new sensor type for VCN powergate status drm/amd/powerplay: support VCN powergate status retrieval on Raven drm/amd/powerplay: support VCN powergate status retrieval for SW SMU drm/amd/powerplay: correct Navi10 VCN powergate control (v2) drm/amd/powerplay: correct UVD/VCE/VCN power status retrieval drm/amd/powerplay: init arcturus SMU metrics table on bootup drm/amd/powerplay: support sensor reading on arcturus drm/amd/powerplay: support real-time clock retrieval on arcturus drm/amd/powerplay: support fan speed retrieval on arcturus drm/amd/powerplay: add missing arcturus feature maps drm/amd/powerplay: correct the bitmask used in arcturus drm/amd/powerplay: fix arcturus real-time clock frequency retrieval drm/amd/powerplay: support UMD PSTATE settings on arcturus drm/amd/powerplay: correct arcturus current clock level calculation drm/amd/powerplay: make power limit retrieval as asic specific drm/amd/powerplay: determine the features to enable by pptable only drm/amd/powerplay: guard consistency between CPU copy and local VRAM drm/amd/powerplay: support power profile retrieval and setting on arcturus drm/amd/powerplay: enable SW SMU power profile switch support in KFD drm/amd/powerplay: correct navi10 vcn powergate drm/amd/powerplay: skip pcie params override on Arcturus V2 drm/amd/powerplay: check before issuing messages for max sustainable clocks Fatemeh Darbehani (2): drm/amd/display: Change min_h_sync_width from 8 to 4 drm/amd/display: Add SMU version field to clk_mgr_internal Feifei Xu (1): drm/amdgpu: add pci DID for Arcturus GL-XL. Felix Kuehling (4): drm/ttm: Add release_notify callback to ttm_bo_driver drm/amdgpu: Add flag to wipe VRAM on release drm/amdgpu: Implement VRAM wipe on release drm/amdgpu: Mark KFD VRAM allocations for wipe on release Fuqian Huang (1): drm/ttm: use the same attributes when freeing d_page->vaddr Hariprasad Kelam (1): gpu: drm: amd: powerplay: Remove logically dead code Harmanprit Tatla (1): drm/amd/display: No audio endpoint for Dell MST display Harry Wentland (1): drm/amd/display: Remove unnecessary NULL check in set_preferred_link_settings Hawking Zhang (20): drm/amdgpu: add arct sdma golden settings drm/amdgpu: add arct gc golden settings drm/amdgpu: init arct external rev id drm/amdgpu: keep stolen memory for arct drm/amdgpu: init gds config for arct drm/amdgpu: skip gfx 9 common golden settings for arct drm/amdgpu: do not create ras debugfs/sysfs node for ASICs that don't have ras ability drm/amdgpu: disable GFX RAS by default drm/amdgpu: only allow error injection to UMC IP block drm/amdgpu: drop ras self test drm/amdgpu: set sdma irq src num according to sdma instances drm/amdgpu: correct irq type used for sdma ecc drm/amdgpu: move some ras data structure to amdgpu_ras.h drm/amdgpu: init RSMU and UMC ip base address for vega20 drm/amdgpu: add amdgpu_umc_functions structure drm/amdgpu: add rsmu v_0_0_2 ip headers drm/amdgpu: add umc v6_1_1 IP headers drm/amdgpu: add umc v6_1 query error count support drm/amdgpu: init umc v6_1 functions for vega20 drm/amdgpu: querry umc error count Ilya Bakoulin (5): drm/amd/display: Expose enc2_set_dynamic_metadata drm/amd/display: Check for valid stream_encode drm/amd/display: Fix some HUBP programming issues drm/amd/display: Cache the use_pitch_c conditional drm/amd/display: Fixes for some MPO cases Jack Xiao (3): drm/amdgpu/gfx10: fix programming of SC_HIZ_TILE_FIFO_SIZE field drm/amdgpu: enable gfxoff code path for navi14 drm/amdgpu: correct smu rlc handshake enablement bit James Zhu (12): drm/amdgpu: Enable VCN on navi14 drm/amdgpu: Clear build undefined warning drm/amdgpu/: add clientID for 2nd vcn instance drm/amdgpu/: add ucodeID for 2nd vcn instance drm/amdgpu/: add doorbell assignment for 2nd vcn instance drm/amdgpu/: increase AMDGPU_MAX_RINGS to add 2nd vcn instance drm/amdgpu: add vcn nbio doorbell range setting for 2nd vcn instance drm/amdgpu: modify amdgpu_vcn to support multiple instances drm/amdgpu: add multiple instances support for Arcturus drm/amdgpu: add harvest support for Arcturus drm/amdgpu:add all VCN rings into schedule request queue drm/amdgpu: use VCN firmware offset for cache window Jay Cornwall (9): drm/amdkfd: Merge gfx9/arcturus trap handlers, add ACC VGPR save drm/amdkfd: Use SQC when TCP would fail in gfx9 context save. drm/amdkfd: Fix lost single step exceptions in gfx9 trap handler drm/amdkfd: Replace gfx10 trap handler with correct branch drm/amdkfd: Remove dead code from gfx8/gfx9 trap handlers drm/amdkfd: Fix gfx10 wave64 VGPR context restore drm/amdkfd: Save/restore flat_scratch_lo/hi on gfx10 drm/amdkfd: Save/restore vcc on gfx10 drm/amdkfd: Extend CU mask to 8 SEs (v3) Jia-Ju Bai (1): gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property() John Clements (7): drm/amdgpu: removed duplicate line drm/amdgpu: add PSP SW init support for Arcturus drm/amdgpu: add PSP KDB loading support for Arcturus drm/amdgpu: update PSP CMD fail response status print drm/amdgpu: disable MEC2 JT context init for Arcturus drm/amdgpu: extend PSP FW loading support to 8 SDMA instances drm/amdgpu: update SDMA V4 microcode init Jonathan Kim (3): drm/amdgpu: exposing fica registers to df offsets drm/amdgpu: add perfmon and fica atomics for df drm/amdgpu: adding xgmi error monitoring Joseph Greathouse (2): drm/amdgpu: Default disable GDS for compute VMIDs drm/amdgpu: Default disable GDS for compute+gfx Joshua Aberback (1): drm/amd/display: Add debug option to disable timing sync Julian Parkin (3): drm/amd/display: Poll for GPUVM context ready (v2) drm/amd/display: Fix dc_create failure handling and 666 color depths drm/amd/display: Clean up dynamic metadata logic Jun Lei (6): drm/amd/display: initialize p_state to proper value drm/amd/display: fix up HUBBUB hw programming for VM drm/amd/display: cap DCFCLK hardmin to 507 for NV10 drm/amd/display: swap system aperture high/low drm/amd/display: populate last calculated bb state with max clocks drm/amd/display: support "dummy pstate" Kenneth Feng (1): drm/amdgpu/powerplay: provide the interface to disable uclk switch for DAL Kent Russell (3): drm/amdkfd: Fix byte align on VegaM drm/amdgpu: Update NBIO headers to add TXCLK3/4 drm/amdgpu: Fix pcie_bw on Vega20 Kevin Wang (13): drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 drm/amd/powerplay: custom peak clock freq for navi10 drm/amd/powerplay: remove redundancy debug log in smu drm/amd/powerplay: add callback function of get_thermal_temperature_range drm/amd/powerplay: fix temperature granularity error in smu11 drm/amd/powerplay: move smu types to smu_types.h drm/amd/powerplay: add smu message name support drm/amd/powerplay: add smu feature name support drm/amd/powerplay: move smu_feature_update_enable_state to up level drm/amd/powerplay: implment sysfs feature status function in smu drm/amd/powerplay: remove redundancy debug log in smu drm/amd/powerplay: sort feature status index by asic feature id for smu drm/amd/powerplay: honor hw limit on fetching metrics data for navi10 Krunoslav Kovac (1): drm/amd/display: Optimize gamma calculations KyleMahlkuch (1): drm/radeon: Fix EEH during kexec Le Ma (50): drm/amdgpu: add mmhub 9.4.1 header files for Acrturus drm/amdgpu: add sdma 4.2.2 header files for Arcturus drm/amdgpu: add Arcturus ip_offset header (v3) drm/amdgpu: add Arcturus asic type drm/amdgpu: add gmc basic support for Arcturus drm/amdgpu: rename AMDGPU_GFXHUB/MMHUB macro with hub number drm/amdgpu: add new member in amdgpu_device for vmhub counts per asic chip drm/amdgpu: add one more mmhub instance for Arcturus (v2) drm/amdgpu: add mmhub v9.4.1 block for Arcturus (v2) drm/amdgpu: use new mmhub interfaces for Arcturus drm/amdgpu: add SDMA 2~7 interrupt client id for Arcturus drm/amdgpu: add SDMA 2~7 ip block type drm/amdgpu: increase max number of ip base instances to 8 drm/amdgpu: dynamically initialize IP offset for Arcturus drm/amdgpu: add VMC1 interrupt client id for Arcturus drm/amdgpu: update vmc interrupt routine to support 3 vmhubs drm/amdgpu: reorganize sdma v4 code to support more instances drm/amdgpu: specify sdma instance 5~7 with second mmhub type drm/amdgpu: support hdp flush for more sdma instances drm/amdgpu/soc15: add Arcturus common ip blocks drm/amdgpu: add to set Arcturus ip blocks drm/amdgpu: set Arcturus fw load type as direct drm/amdgpu/dce_virtual: add Arcturus virtual display support drm/amdgpu: add support for Arcturus firmware drm/amdgpu: add gfx config for Arcturus drm/amdgpu: add number of mec for Arcturus drm/amdgpu: add to set rlc funcs for Arcturus drm/amdgpu: skip to get 3D engine clockgating state for Arcturus drm/amdgpu: skip pasid mapping for second mmhub on Arcturus drm/amdgpu: add Arcturus gpu info firmware drm/amdgpu: optimize gfx9 init_microcode function drm/amdgpu: skip load cp gfx firmware for Arcturus drm/amdgpu: skip all gfx ring settings for Arcturus drm/amdgpu: support sdma 2~7 doorbell range register offset drm/amdgpu: correct Arcturus SDMA address space base index drm/amdgpu: enable 8 SDMA instances for Arcturus drm/amdgpu: add Arcturus chip_name for init sdma microcode drm/amdgpu: correct programming of ih_chicken for Arcturus drm/amdgpu: add paging queue support for 8 SDMA instances on Arcturus drm/amdgpu: declare sdma firmware binary files for Arcturus drm/amdgpu: skip get/update xgmi topology info when no psp exists drm/amdgpu: set system aperture to cover whole FB region in mmhub v9.4 drm/amdgpu: correct ip for mmHDP_READ_CACHE_INVALIDATE register access drm/amdgpu: assign fb_start/end in mmhub v9.4 interface drm/amdgpu: clean up nonexistent firmware declaration for Arcturus drm/amdgpu: limit sdma instances to 2 for Arcturus in BU phase drm/amdgpu: enable all 8 sdma instances for Arcturus silicon drm/amd/include: adjust base offset of SMUIO and THM for Arcturus drm/amdgpu: update more sdma instances irq support drm/amdgpu: support get_cu_info for Arcturus Leo Li (3): drm/amd/display: Use switch table for dc_to_smu_clock_type drm/amd/display: Add ASICREV_IS_NAVI macros drm/amdgpu: Add nv12 DC ip block Leo Liu (14): drm/amdgpu: add VCN2.5 headers drm/amdgpu/VCN2: put IB internal registers offset to structure drm/amdgpu/VCN2: expose rings functions drm/amdgpu: add VCN2.5 basic supports drm/amdgpu: add VCN2.5 VCPU start and stop drm/amdgpu: add Arcturus to the VCN family drm/amdgpu/VCN2.5: set decode ring functions drm/amdgpu/VCN2.5: set encode ring functions drm/amdgpu: add JPEG2.5 HW start and stop drm/amdgpu/VCN2.5: set JPEG decode ring functions drm/amdgpu: enable VCN2.5 on Arcturus drm/amdgpu: add vcn doorbell range function to nbio7.4 (v2) drm/amdgpu: enable the Doorbell support for VCN2.5 drm/amdgpu: use VCN firmware offset for cache window Lewis Huang (1): drm/amd/display: Add debug entry to destroy disconnected edp link Likun Gao (1): drm/amdgpu: pin the csb buffer on hw init for gfx v8 Matt Coffin (1): drm/amd/powerplay: Allow changing of fan_control in smu_v11_0 Monk Liu (3): drm/amdgpu: cleanup vega10 SRIOV code path drm/amdgpu: fix incorrect judge on sos fw version drm/amdgpu: fix double ucode load by PSP(v3) Murton Liu (4): drm/amd/display: Clock does not lower in Updateplanes drm/amd/display: Implement generic MUX registers (v2) drm/amd/display: Hook up calls to do stereo mux and dig programming to stereo control interface drm/amd/display: Change offset_to_id to reflect what id_to_offset returns Nathan Chancellor (2): drm/amd/display: Use proper enum conversion functions drm/amd/powerplay: Zero initialize some variables Nevenko Stupar (2): drm/amd/display:Use Pixel clock in 100Hz units for HDMI Audio wall clock DTO drm/amd/display: Add DIG_CLOCK_PATTERN register Nicholas Kazlauskas (10): drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct drm/amd/display: Set enabled to false at start of audio disable drm/amd/display: Copy GSL groups when committing a new context drm/amd/display: Embed DCN2 SOC bounding box drm/amd/display: Support uclk switching for DCN2 drm/amd/display: Allow cursor async updates for framebuffer swaps drm/amd/display: Skip determining update type for async updates drm/amd/display: Don't replace the dc_state for fast updates drm/amd/display: Validate dc_plane_info and dc_plane_size in atomic check drm/amd/display: Block immediate flips for non-fast updates Nick Desaulniers (1): drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines Nikola Cornij (4): drm/amd/display: Set one 4:2:0-related PPS field as recommended by DSC spec drm/amd/display: Power-gate all DSCs at driver init time drm/amd/display: Set FEC_READY always before link training drm/amd/display: Clear FEC_READY shadow register if DPCD write fails Oak Zeng (12): drm/amdgpu: Initialize asic functions for Arcturus drm/amdkfd: Extend PM4 packets to support 8 SDMA drm/amdkfd: Support bigger gds size drm/amdkfd: Change arcturus sdma engines number drm/amdkfd: Fix sdma_bitmap overflow issue drm/amdkfd: Implement kfd2kgd_calls for Arcturus drm/amdgpu: Hack xgmi topology info when there is no psp fw drm/amdgpu: Enable xgmi support for Arcturus drm/amdkfd: Set number of xgmi optimized SDMA engines for arcturus drm/amdkfd: Add arcturus CWSR trap handler drm/amdkfd: Add device id for real asics drm/amdkfd: Increase vcrat size for GPU Oded Gabbay (1): MAINTAINERS: update amdkfd maintainer (v3) Qingqing Zhuo (1): drm/amd/display: Add CM_BYPASS via debug option Reza Amini (1): drm/amd/display: Implement DAL3 GPU Integer Scaling Roman Li (1): drm/amd/display: Add missing NV12 asic IDs Samson Tam (1): drm/amd/display: skip retrain in dc_link_set_preferred_link_settings() if using passive dongle Shirish S (1): drm/amd/display: enable S/G for RAVEN chip SivapiriyanKumarasamy (1): drm/amd/display: Wait for backlight programming completion in set backlight level Su Sung Chung (2): drm/amd/display: refactor dump_clk_registers drm/amd/display: fix not calling ppsmu to trigger PME Tai Man (2): drm/amd/display: use encoder's engine id to find matched free audio device drm/amd/display: Increase size of audios array Tao Zhou (25): drm/amdgpu/gfx10: update gfx golden settings for navi14 drm/amdgpu: add ras error count after each query (v2) drm/amdgpu: add RREG64/WREG64(_PCIE) operations drm/amdgpu: use 64bit operation macros for umc drm/amdgpu: switch to amdgpu_umc structure drm/amdgpu: update algorithm of umc uncorrectable error counting drm/amdgpu: add support for recording ras error address drm/amdgpu: add structures for umc error address translation drm/amdgpu: query umc ras error address drm/amdgpu: allow ras interrupt callback to return error data drm/amdgpu: update interrupt callback for all ras clients drm/amdgpu: add check for ras error type drm/amdgpu: remove ras_reserve_vram in ras injection drm/amdgpu: remove the clear of MCA_ADDR drm/amdgpu: add more parameters and functions to amdgpu_umc structure drm/amdgpu: initialize new parameters and functions for amdgpu_umc structure drm/amdgpu: add macro of umc for each channel drm/amdgpu: apply umc_for_each_channel macro to umc_6_1 drm/amdgpu: add error address query for umc ras drm/amdgpu: support ce interrupt in ras module drm/amdgpu: implement umc ras init function drm/amdgpu: update the calc algorithm of umc ecc error count drm/amdgpu: only uncorrectable error needs gpu reset drm/amdgpu: replace AMDGPU_RAS_UE with AMDGPU_RAS_SUCCESS drm/amdgpu: update ras sysfs feature info Thong Thai (2): drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands drm/amd/amdgpu/vcn_v2_0: Move VCN 2.0 specific dec ring test to vcn_v2_0 Tony Cheng (1): drm/amd/display: avoid power gate domains that doesn't exist Vitaly Prosyak (1): drm/amd/display: Add MPC 3DLUT resource management Wang Xiayang (1): drm/amdgpu: fix a potential information leaking bug Wenjing Liu (1): drm/amd/display: wait for the whole frame after global unlock Xiaojie Yuan (71): drm/amdgpu: add navi14 asic type drm/amdgpu: add gpu_info firmware for navi14 drm/amdgpu: set asic family and ip blocks for navi14 drm/amdgpu: add navi14 ucode loading method drm/amdgpu/soc15: initialize reg base for navi14 (v2) drm/amdgpu/discovery: init reg base offset via ip discovery for navi14 drm/amdgpu: increase max instance number for hw ip drm/amdgpu/gmc10: add navi14 support drm/amdgpu/sdma5: add support for navi14 firmware drm/amdgpu/sdma5: add placeholder for navi14 golden settings drm/amdgpu/sdma5: add sdma5_0 golden settings for navi14 drm/amdgpu/sdma5: set clock gating for navi14 drm/amdgpu/gfx10: add support for navi14 firmware drm/amdgpu/gfx10: add placeholder for navi14 golden settings drm/amdgpu/gfx10: add gfx config for navi14 drm/amdgpu/gfx10: add clockgating support for navi14 drm/amdgpu: add me/mec configurations for navi14 drm/amdgpu: set rlc funcs for navi14 drm/amdgpu/gfx10: set tcp harvest for navi14 drm/amdgpu/gfx: add definition of mmCGTT_GS_NGG_CLK_CTRL drm/amdgpu/gfx10: add gfx v10_1_1 golden settings for navi14 drm/amdgpu/gfx: update gc_v10_1_1 golden setting drm/amdgpu/gfx10: update gfx golden settings for navi14 drm/amdgpu/soc15: add support for navi14 drm/amdgpu: add ip blocks for navi14 drm/amdgpu: enable virtual display for navi14 drm/amdgpu/psp: add psp support for navi14 (v3) drm/amdgpu: enable psp ip block for navi14 drm/amdgpu/psp: start rlc autoload after psp received rlcg for navi14 drm/amdgpu/smu11: add support for navi14 drm/amdgpu: enable sw smu ip for navi14 drm/amdgpu: skip to load ta firmware for navi14 drm/amd/display: skip to load dmcu firmware for navi14 drm/amdgpu: declare asd firmware for navi14 drm/amdgpu/mmhub2: set clock gating for navi14 drm/amdgpu/athub2: set clock gating for navi14 drm/amdgpu: enable clock gatings for navi14 drm/amdgpu: enable async gfx ring for navi14 drm/amd/display: disable display writeback for navi14 drm/amdgpu/nv: set vcn pg flag for navi14 drm/amd/powerplay: disable gfxoff for navi14 drm/amdgpu/vcn: enable indirect DPG SRAM mode for navi14 drm/amdgpu: add ip offset header for navi12 (v2) drm/amdgpu: initialize reg base for navi12 drm/amdgpu: add navi12 asic type drm/amdgpu: add gpu_info firmware for navi12 drm/amdgpu: set asic family and ip blocks for navi12 drm/amdgpu: use front door firmware loading for navi12 drm/amdgpu: initialize cg/pg flags and external rev id for navi12 drm/amdgpu: set nbio/hdp cg for navi12 drm/amdgpu/gfx10: set gfx cg for navi12 drm/amdgpu/gfx10: add gfx config for navi12 drm/amdgpu/gfx10: declare cp/rlc firmwares for navi12 drm/amdgpu/gfx10: add placeholder for navi12 golden settings drm/amdgpu/gfx10: set number of me(c)/pipe/queue for navi12 drm/amdgpu/gfx10: set rlc funcs for navi12 drm/amdgpu/sdma5: declare sdma firmwares for navi12 drm/amdgpu/sdma5: add placeholder for navi12 golden settings drm/amdgpu/gmc10: set gart size and vm size for navi12 drm/amdgpu: add ip blocks for navi12 drm/amdgpu/gfx10: set tcp harvest for navi12 drm/amdgpu: enable virtual display for navi12 drm/amdgpu/gfx10: add golden settings for navi12 (v2) drm/amdgpu/sdma5: add golden settings for navi12 (v2) drm/amdgpu: add CGTT_GS_NGG_CLK_CTRL register to gc header drm/amdgpu/smu11: add smu support for navi12 drm/amdgpu/psp11: add psp support for navi12 drm/amdgpu: start autoload till RLCG fw for navi12 drm/amdgpu: add smu ip block for navi12 drm/amdgpu: add psp ip block for navi12 drm/amdgpu/discovery: move common discovery code out of navi1*_reg_base_init() Yong Zhao (7): amd/amdkfd: Add ASIC ARCTURUS to kfd drm/amdkfd: Expose function mmhub_v9_4_setup_vm_pt_regs() for kfd to use drm/amdkfd: Support two MMHUBs when setting up page table base in KFD drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 for MMHUB 9.4 drm/amdkfd: Support MMHUB1 in kfd interrupt path amd/powerplay: No SW XGMI dpm for Arcturus rev 2 drm/amdgpu: Add more detail to the VM fault printing Zhan Liu (1): drm/amd/display: drop ASSERT() if eDP panel is not connected Zi Yu Liao (1): drm/amd/display: fix DMCU hang when going into Modern Standby shaoyunl (1): drm/amdgpu: enable Navi12 kfd support for amdgpu tiancyin (3): drm/amdgpu/sdma5: update sdma5 golden settings for navi14 drm/amdgpu/gmc10: fix pte mytpe field error for navi14 drm/amdgpu/soc15: fix external_rev_id for navi14 xinhui pan (1): drm/amdgpu: Fix panic during gpu reset MAINTAINERS | 16 +- drivers/gpu/drm/amd/amdgpu/Makefile | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 48 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 18 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 + .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 323 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 169 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h | 69 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 182 +- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 21 +- drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 29 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 29 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 100 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 157 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 37 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 194 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 308 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 17 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 14 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 16 + drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 73 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 202 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 35 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 45 - drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 13 - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 114 +- drivers/gpu/drm/amd/amdgpu/arct_reg_init.c | 59 + drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | 1 + drivers/gpu/drm/amd/amdgpu/cik.c | 7 + drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 + drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 202 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 193 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 19 + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 59 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1251 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 39 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 149 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h | 7 + drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 12 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 3 +- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 517 + drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h | 33 + drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 15 - drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 3 +- drivers/gpu/drm/amd/amdgpu/navi10_reg_init.c | 14 +- drivers/gpu/drm/amd/amdgpu/navi12_reg_init.c | 53 + drivers/gpu/drm/amd/amdgpu/navi14_reg_init.c | 54 + drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 2 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 72 +- drivers/gpu/drm/amd/amdgpu/nv.c | 99 +- drivers/gpu/drm/amd/amdgpu/nv.h | 2 + drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 11 +- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 25 + drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 524 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 56 +- drivers/gpu/drm/amd/amdgpu/si.c | 7 + drivers/gpu/drm/amd/amdgpu/soc15.c | 164 +- drivers/gpu/drm/amd/amdgpu/soc15.h | 1 + drivers/gpu/drm/amd/amdgpu/soc15_common.h | 5 +- drivers/gpu/drm/amd/amdgpu/umc_v6_1.c | 255 + drivers/gpu/drm/amd/amdgpu/umc_v6_1.h | 51 + drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 116 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 314 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h | 38 + drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 1414 + drivers/gpu/drm/amd/amdgpu/vcn_v2_5.h | 29 + drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 29 +- drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | 6 + drivers/gpu/drm/amd/amdgpu/vi.c | 7 + drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 1455 +- .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm | 1992 +- .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx8.asm | 395 +- .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm | 547 +- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 25 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 9 +- 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_kernel_queue.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c | 59 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 2 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 18 +- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 24 +- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 175 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 17 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 139 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 61 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 51 +- drivers/gpu/drm/amd/display/dc/calcs/Makefile | 4 + drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c | 2 +- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 2 +- .../amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dce120/dce120_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 39 +- .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.h | 5 + drivers/gpu/drm/amd/display/dc/core/dc.c | 98 +- drivers/gpu/drm/amd/display/dc/core/dc_debug.c | 40 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 101 +- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 394 +- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 45 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 27 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 26 +- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 3 +- drivers/gpu/drm/amd/display/dc/dc.h | 44 +- drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 21 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 56 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 11 + drivers/gpu/drm/amd/display/dc/dc_types.h | 14 + drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 4 + drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 28 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 9 +- drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 7 +- drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 10 +- .../drm/amd/display/dc/dce/dce_stream_encoder.c | 30 +- .../amd/display/dc/dce110/dce110_hw_sequencer.c | 70 +- .../drm/amd/display/dc/dce110/dce110_mem_input_v.c | 42 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 70 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 27 +- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 85 +- .../display/dc/dcn10/dcn10_hw_sequencer_debug.c | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 2 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 2 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.c | 33 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.h | 16 +- drivers/gpu/drm/amd/display/dc/dcn20/Makefile | 4 + .../gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c | 7 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c | 8 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.h | 4 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c | 29 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c | 688 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h | 62 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 198 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.h | 14 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c | 34 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 493 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.h | 12 + .../amd/display/dc/dcn20/dcn20_stream_encoder.c | 2 +- .../amd/display/dc/dcn20/dcn20_stream_encoder.h | 5 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c | 37 + drivers/gpu/drm/amd/display/dc/dm_services.h | 1 + drivers/gpu/drm/amd/display/dc/dml/Makefile | 7 + .../display/dc/dml/dcn20/display_mode_vba_20v2.c | 5109 +++ .../display/dc/dml/dcn20/display_mode_vba_20v2.h | 32 + .../dc/dml/dcn20/display_rq_dlg_calc_20v2.c | 1701 + .../dc/dml/dcn20/display_rq_dlg_calc_20v2.h | 74 + .../gpu/drm/amd/display/dc/dml/display_mode_lib.c | 12 + .../gpu/drm/amd/display/dc/dml/display_mode_lib.h | 1 + .../drm/amd/display/dc/dml/display_mode_structs.h | 1 + .../gpu/drm/amd/display/dc/dml/display_mode_vba.c | 8 +- drivers/gpu/drm/amd/display/dc/dsc/Makefile | 4 + drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c | 79 +- drivers/gpu/drm/amd/display/dc/gpio/Makefile | 2 +- .../amd/display/dc/gpio/dcn10/hw_factory_dcn10.c | 42 +- .../amd/display/dc/gpio/dcn20/hw_factory_dcn20.c | 41 +- .../amd/display/dc/gpio/dcn20/hw_translate_dcn20.c | 2 +- .../display/dc/gpio/diagnostics/hw_factory_diag.c | 1 + drivers/gpu/drm/amd/display/dc/gpio/generic_regs.h | 66 + drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 68 + drivers/gpu/drm/amd/display/dc/gpio/hw_factory.h | 3 + drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c | 134 + drivers/gpu/drm/amd/display/dc/gpio/hw_generic.h | 46 + drivers/gpu/drm/amd/display/dc/inc/core_status.h | 3 + drivers/gpu/drm/amd/display/dc/inc/core_types.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 7 + .../drm/amd/display/dc/inc/hw/clk_mgr_internal.h | 3 + drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 4 +- drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 10 + drivers/gpu/drm/amd/display/dc/inc/link_hwss.h | 2 +- drivers/gpu/drm/amd/display/include/audio_types.h | 4 +- drivers/gpu/drm/amd/display/include/dal_asic_id.h | 10 + drivers/gpu/drm/amd/display/include/dpcd_defs.h | 2 +- .../amd/display/include/gpio_service_interface.h | 18 +- .../drm/amd/display/include/link_service_types.h | 17 +- .../drm/amd/display/modules/color/color_gamma.c | 163 +- .../drm/amd/display/modules/color/color_gamma.h | 9 + drivers/gpu/drm/amd/include/arct_ip_offset.h | 1650 + .../drm/amd/include/asic_reg/df/df_3_6_offset.h | 4 + .../drm/amd/include/asic_reg/gc/gc_10_1_0_offset.h | 2 + .../amd/include/asic_reg/gc/gc_10_1_0_sh_mask.h | 39 + .../drm/amd/include/asic_reg/gc/gc_9_0_offset.h | 2 + .../drm/amd/include/asic_reg/gc/gc_9_0_sh_mask.h | 157 + .../include/asic_reg/mmhub/mmhub_9_4_1_default.h | 3933 ++ .../include/asic_reg/mmhub/mmhub_9_4_1_offset.h | 7753 ++++ .../include/asic_reg/mmhub/mmhub_9_4_1_sh_mask.h | 44884 +++++++++++++++++++ .../amd/include/asic_reg/nbio/nbio_7_0_sh_mask.h | 30 + .../drm/amd/include/asic_reg/nbio/nbio_7_0_smn.h | 6 + .../amd/include/asic_reg/rsmu/rsmu_0_0_2_offset.h | 27 + .../amd/include/asic_reg/rsmu/rsmu_0_0_2_sh_mask.h | 32 + .../include/asic_reg/sdma0/sdma0_4_2_2_offset.h | 1051 + .../include/asic_reg/sdma0/sdma0_4_2_2_sh_mask.h | 3002 ++ .../include/asic_reg/sdma1/sdma1_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma1/sdma1_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma2/sdma2_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma2/sdma2_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma3/sdma3_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma3/sdma3_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma4/sdma4_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma4/sdma4_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma5/sdma5_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma5/sdma5_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma6/sdma6_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma6/sdma6_4_2_2_sh_mask.h | 2956 ++ .../include/asic_reg/sdma7/sdma7_4_2_2_offset.h | 1043 + .../include/asic_reg/sdma7/sdma7_4_2_2_sh_mask.h | 2956 ++ .../amd/include/asic_reg/umc/umc_6_1_1_offset.h | 31 + .../amd/include/asic_reg/umc/umc_6_1_1_sh_mask.h | 91 + .../drm/amd/include/asic_reg/vcn/vcn_2_5_offset.h | 979 + .../drm/amd/include/asic_reg/vcn/vcn_2_5_sh_mask.h | 3609 ++ drivers/gpu/drm/amd/include/atomfirmware.h | 86 + drivers/gpu/drm/amd/include/kgd_pp_interface.h | 10 + drivers/gpu/drm/amd/include/navi12_ip_offset.h | 1119 + drivers/gpu/drm/amd/include/navi14_ip_offset.h | 1119 + drivers/gpu/drm/amd/include/soc15_ih_clientid.h | 11 +- drivers/gpu/drm/amd/include/v9_structs.h | 8 +- drivers/gpu/drm/amd/powerplay/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 14 + drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 420 +- drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1923 + drivers/gpu/drm/amd/powerplay/arcturus_ppt.h | 72 + drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 9 + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 25 + drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 26 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 29 + drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 217 +- drivers/gpu/drm/amd/powerplay/inc/arcturus_ppsmc.h | 120 + drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 + .../amd/powerplay/inc/smu11_driver_if_arcturus.h | 886 + drivers/gpu/drm/amd/powerplay/inc/smu_types.h | 218 + drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h | 15 +- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 481 +- drivers/gpu/drm/amd/powerplay/navi10_ppt.h | 4 + drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 245 +- .../gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c | 4 + .../gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c | 4 + .../gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c | 4 + .../gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c | 8 + drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 287 +- drivers/gpu/drm/radeon/radeon_connectors.c | 2 +- drivers/gpu/drm/radeon/radeon_drv.c | 23 +- drivers/gpu/drm/ttm/ttm_bo.c | 3 + drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 6 +- include/drm/amd_asic_type.h | 3 + include/drm/ttm/ttm_bo_driver.h | 10 + include/uapi/drm/amdgpu_drm.h | 4 + 279 files changed, 121400 insertions(+), 5265 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/arct_reg_init.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h create mode 100644 drivers/gpu/drm/amd/amdgpu/navi12_reg_init.c create mode 100644 drivers/gpu/drm/amd/amdgpu/navi14_reg_init.c create mode 100644 drivers/gpu/drm/amd/amdgpu/umc_v6_1.c create mode 100644 drivers/gpu/drm/amd/amdgpu/umc_v6_1.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.h create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.h create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.h create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/generic_regs.h create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.h create mode 100644 drivers/gpu/drm/amd/include/arct_ip_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_1_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/rsmu/rsmu_0_0_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/rsmu/rsmu_0_0_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma0/sdma0_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma1/sdma1_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma2/sdma2_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma2/sdma2_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma3/sdma3_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma3/sdma3_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma4/sdma4_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma4/sdma4_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma5/sdma5_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma5/sdma5_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma6/sdma6_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma6/sdma6_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma7/sdma7_4_2_2_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/sdma7/sdma7_4_2_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_1_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/umc/umc_6_1_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_2_5_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_2_5_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/navi12_ip_offset.h create mode 100644 drivers/gpu/drm/amd/include/navi14_ip_offset.h create mode 100644 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c create mode 100644 drivers/gpu/drm/amd/powerplay/arcturus_ppt.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/arcturus_ppsmc.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_types.h