From patchwork Thu Mar 28 17:44:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 10875587 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 AA9E2139A for ; Thu, 28 Mar 2019 17:45:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A3EA28CB5 for ; Thu, 28 Mar 2019 17:45:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B04728CC4; Thu, 28 Mar 2019 17:45:05 +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 3DCCE28CB5 for ; Thu, 28 Mar 2019 17:45:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C65E6E439; Thu, 28 Mar 2019 17:45:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by gabe.freedesktop.org (Postfix) with ESMTPS id 56C536E439; Thu, 28 Mar 2019 17:45:00 +0000 (UTC) Received: by mail-qk1-x734.google.com with SMTP id w20so12672434qka.7; Thu, 28 Mar 2019 10:45:00 -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=586BPESEFvoKBJwQC1WmZDRrlHGXvVVK/LhSdQZRqAk=; b=Vk2KaVRQtChwaSZLctjyUXZtm2kOlPcAHC0dlUXwElYM4bSK58LP5TDGUK11K9gBYo +qHCSoLg2roFbJiJuMDFjtKqLKRftPVKHXur+PHvlqS5t1OIERFB+gln1m+9fkZy7TPB piiTqoAMPCN16PTEDYbmeuhYDrjucNA3pgWEcDLBemnN2Q1GhrjR0CkorRdoMmGyTxj1 GpqAzfO2HXGmz27OiBPMrcETgd9ifoimiHltJKhzEqPHWc+Dm/UtIK27nm5rk4WT23pW CSEHT420DBpXM4aK0uXudyM4H7AWj/OukPM5FyO1nx3bcyyB24f0cJPF6TyXzXbAHwos rF8Q== X-Gm-Message-State: APjAAAWOpLivujD46KY7uJkp9xvA45O1wLPPMmCqq2mHN2vn3gekVr3P cHjNJTOe4vIAvZRBtacQfSpXQYkW5bE= X-Google-Smtp-Source: APXvYqxNf3KFp3zhknVeT8XIZzdE1izEKSL5RloP9qo2/yY1K7Inp6oP/TMnVy6RTJneKaUluD7IZQ== X-Received: by 2002:a05:620a:15d6:: with SMTP id o22mr6659849qkm.304.1553795097839; Thu, 28 Mar 2019 10:44:57 -0700 (PDT) Received: from localhost.localdomain ([71.219.73.123]) by smtp.gmail.com with ESMTPSA id z8sm14684975qth.62.2019.03.28.10.44.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Mar 2019 10:44:57 -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, ttm drm-next-5.2 Date: Thu, 28 Mar 2019 12:44:49 -0500 Message-Id: <20190328174449.3656-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=586BPESEFvoKBJwQC1WmZDRrlHGXvVVK/LhSdQZRqAk=; b=NphLy4s8qIHsNLq8PeOCt9qN6i3t5wTdd8FMq/iS84/2WvkTaEuooGIws170PFGs7s g2yTNt+sUI5saubDzVj6VSZMaoEwJ46jpL2mQwLvmpv7pRSCl0azRCz+zS2u4HY0wV8L nMSqiGrvv3Xi+YNK/63UTl2DU/FvIUzDJBv9yilJrhNcrDjyRz4NmqR5Ixuf2MdzeFuu V7SmAMApDSefnv23X75NiGvGejOKHBQST75aiNBYPVuEvniouxhN0MzhAgN4+As1TMfd Cu5In9xkjnqOV+7hs8EJzXq7uXIcz3hbScoMQIkmhjSvyND/MB/d1s+foQFU5PiUwuVY 9YoA== 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, New stuff for 5.2: amdgpu: - Switch to HMM for userptr (reverted until HMM fixes land) - New experimental SMU 11 replacement for powerplay for vega20 (not enabled by default) - Initial RAS support for vega20 - BACO support for vega12 - BACO fixes for vega20 - Rework IH handling for page fault and retry interrupts - Cleanly split CPU and GPU paths for GPUVM updates - Powerplay fixes - XGMI fixes - Rework how DC interacts with atomic for planes - Clean up and simplify DC/Powerplay interfaces - Misc cleanups and bug fixes amdkfd: - Switch to HMM for userptr (reverted until HMM fixes land) - Add initial RAS support - MQD fixes ttm: - Unify DRM_FILE_PAGE_OFFSET handling - Account for kernel allocations in kernel zone only - Misc cleanups The following changes since commit fbac3c48fa6b4cfa43eaae39d5a53269bff7ec5f: Merge branch 'drm-next-5.1' of git://people.freedesktop.org/~agd5f/linux into drm-next (2019-02-22 15:56:42 +1000) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-5.2 for you to fetch changes up to 296bb163e2d549c0fcae307e6aff1e407bb1a998: Revert "drm/amdgpu: use HMM callback to replace mmu notifier" (2019-03-28 10:16:12 -0500) ---------------------------------------------------------------- Alex Deucher (12): drm/amdgpu/powerplay: add missing breaks in polaris10_smumgr drm/amdgpu/powerplay: add BACO support for vega12 drm/amdgpu/powerplay: split out common smu9 BACO code drm/amdgpu: use BACO on vega12 if platform supports it drm/amdgpu/display: fix build when DCN KCONFIG is not set Revert "drm/amdgpu: more descriptive message if HMM not enabled" Revert "drm/amdgpu: support userptr cross VMAs case with HMM" Revert "drm/amdkfd: support concurrent userptr update for HMM" Revert "drm/amdgpu: fix HMM config dependency issue" Revert "drm/amdgpu: replace get_user_pages with HMM mirror helpers" Revert "drm/amdkfd: avoid HMM change cause circular lock" Revert "drm/amdgpu: use HMM callback to replace mmu notifier" Andrey Grodzovsky (2): drm/amdgpu: Add sysfs entries for xgmi hive v2. drm/amdgpu: Move IB pool init and fini v2 Anthony Koo (5): drm/amd/display: Fix issue with link_active state not correct for MST drm/amd/display: make seamless boot work generically drm/amd/display: Fix exception from AUX acquire failure drm/amd/display: Keep clocks high before seamless boot done drm/amd/display: Fix soft hang issue when some DPCD data invalid Aric Cyr (6): drm/amd/display: 3.2.20 drm/amd/display: 3.2.21 drm/amd/display: Add a hysteresis to BTR frame multiplier drm/amd/display: 3.2.22 drm/amd/display: 3.2.23 drm/amd/display: 3.2.24 Candice Li (1): Revert "drm/amdgpu: use BACO reset on vega20 if platform support" Charlene Liu (6): drm/amd/display: Add disable triple buffering DC debug option drm/amd/display: dcn add check surface in_use Revert "drm/amd/display: dcn add check surface in_use" drm/amd/display: Add pp_smu null pointer check drm/amd/display: add HW i2c arbitration with dmcu drm/amd/display: fix DP 422 VID_M half the rate issue. Chengming Gui (21): drm/amd/powerplay: implement power_dpm_state sys interface for SMU11 drm/amd/powerplay: add watermarks related data structs and function for SMU11. drm/amd/powerplay: implement pp_power_profile_mode sys inerface for SMU11 drm/amd/powerplay: add display_config to handle display config for SMU11. drm/amd/powerplay: add mclk_latency_table struct and smu_clocks struct for SMU11 drm/amd/powerplay: add enable_umd_pstate functions for SMU11 drm/amd/powerplay: add get_profiling_clk_mask functions for SMU11 drm/amd/powerplay: add set_uclk_to_highest_level for SMU11 drm/amd/powerplay: add display_config_changed for SMU11. drm/amd/powerplay: add apply_clock_adjust_rules for SMU11. drm/amd/powerplay: add vega20_notify_smc_display_config functions for SMU11 drm/amd/powerplay: add vega20_find/force_higest/lowest_dpm for SMU11 (v2) drm/amd/powerplay: add vega20_unforce_dpm_levels for SMU11. drm/amd/powerplay: implement power_dpm_force_performance_level for SMU11 drm/amd/powerplay: implement power1_cap and power1_cap_max interface for SMU11 (v2) drm/amd/powerplay: add STABLE_PSTATE_SCLK and STABLE_PSTATE_MCLK when read sensor for SMU11 drm/amd/powerplay: implement pwm1 hwmon interface for SMU11 (v2) drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11 (v2) drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2) drm/amd/powerplay: add smu_late_init for SMU11. drm/amd/powerplay: add is_dpm_running for SMU11 Christian König (33): drm/amdgpu: clear PDs/PTs only after initializing them drm/amdgpu: reroute VMC and UMD to IH ring 1 drm/amdgpu: also reroute VMC and UMD to IH ring 1 on Vega 20 drm/amdgpu: rework shadow handling during PD clear v3 drm/amdgpu: let amdgpu_vm_clear_bo figure out ats status v2 drm/amdgpu: allocate VM PDs/PTs on demand drm/amdgpu: free PDs/PTs on demand drm/amdgpu: drop the huge page flag drm/amdgpu: allow huge invalid mappings on GMC8 drm/amdgpu: change Vega IH ring 1 config drm/amdgpu: enable IH doorbell for ring 1&2 on Vega drm/amdgpu: enable IH ring 1&2 for Vega20 as well drm/amdgpu: limit the number of IVs processed at once drm/amdgpu: use ring/hash for fault handling on GMC9 v3 drm/amdgpu: remove chash drm/amdgpu: remove non-sense NULL ptr check drm/amdgpu: wait for VM to become idle during flush drm/amdgpu: stop evicting busy PDs/PTs drm/amdgpu: re-enable retry faults drm/amdgpu: free up the first paging queue v2 drm/amdgpu: use more entries for the first paging queue drm/amdgpu: remove some unused VM defines drm/amdgpu: always set and check dma addresses in the VM code drm/amdgpu: move and rename amdgpu_pte_update_params drm/amdgpu: reserve less memory for PDE updates drm/amdgpu: new VM update backends drm/amdgpu: use the new VM backend for PDEs drm/amdgpu: use the new VM backend for PTEs drm/amdgpu: revert "XGMI pstate switch initial support" drm/amdgpu: use the new VM backend for clears drm/amdgpu: move VM table mapping into the backend as well drm/amdgpu: drop the ib from the VM update parameters drm/amdgpu: don't put the root PD into the relocated list Colin Ian King (2): drm/amdgpu: fix missing assignment of error return code to variable ret drm/amd/powerplay: fix spelling mistake "unknow" -> "unknown" Dan Carpenter (3): drm/amd/powerplay: delete some dead code drm/amd/powerplay: Off by one in vega20_get_smu_msg_index() drm/amd/powerplay: Fix double unlock bug in smu_sys_set_pp_table() David Francis (8): drm/amd/display: Clean up wait on vblank event drm/amd/display: Make stream commits call into DC only once drm/amd/display: Allow pflips from a framebuffer to itself drm/amd/display: Refactor pageflips plane commit drm/amd/display: Re-add custom degamma support drm/amd/display: On DCN1, Wait for vupdate on cursor updates drm/amd/display: Update ABM crtc state on non-modeset drm/amd/display: Add debugfs dpcd interface Dmytro Laktyushkin (7): drm/amd/display: Allow for plane-less resource reservation drm/amd/display: clean up dml_init_instance drm/amd/display: fix releasing planes when exiting odm drm/amd/display: fix odm combine pipe reset drm/amd/display: add missing opp programming for odm drm/amd/display: fix odm pipe management drm/amd/display: fix odm output gamma programming Eric Bernstein (6): drm/amd/display: Move enum gamut_remap_select to hw_shared.h drm/amd/display: Free DCN version of stream encoder drm/amd/display: Rename is_hdmi to is_hdmi_tmds type drm/amd/display: Fix setting DP_VID_N_MUL drm/amd/display: Use dc_is_hdmi_signal() instead of ENUM drm/amd/display: use dc_is_virtual instead of ENUM Eric Huang (2): drm/amdkfd: add RAS capabilities in topology for Vega20 (v2) drm/amdkfd: add RAS ECC event support (v3) Eryk Brol (2): drm/amd/display: Add DCN_VM aperture registers drm/amd/display: Create clock funcs Evan Quan (16): drm/amd/powerplay: fix the confusing ppfeature mask calculations drm/amd/powerplay: drop redundant soft min/max settings drm/amd/powerplay: need to reapply the dpm level settings drm/amd/powerplay: force FCLK to highest also for 5K or higher displays drm/amd/powerplay: overwrite ODSettingsMin for UCLK_FMAX feature drm/amd/powerplay: support retrieving clock information from other sysplls drm/amd/powerplay: set default fclk for no fclk dpm support case drm/amd/powerplay: honor the OD settings drm/amd/powerplay: show the right override pcie parameters drm/amd/powerplay: apply Vega20 BACO workaround drm/amdgpu: fix ras parameter descriptions drm/amdgpu: trivial typo fix drm/amdgpu: error out on mode1 reset failure drm/amdgpu: add more debug friendly prompts drm/amdgpu: defer cmd/fence/fw buffers destroy on hw_init failure drm/amd/powerplay: update current profile mode only when it's really applied Fatemeh Darbehani (2): drm/amd/display: Remove redundant 'else' statement in dcn1_update_clocks drm/amd/display: Clean up old pplib interface functions Feifei Xu (1): drm/amdgpu: enable ras on gfx9 (v2) Felix Kuehling (2): drm/ttm: Account for kernel allocations in kernel zone only drm/amdgpu: Wait for newly allocated PTs to be idle Gustavo A. R. Silva (1): drm/amdgpu/gfx_v8_0: Mark expected switch fall-through Harmanprit Tatla (1): drm/amd/display: cache additional dpcd caps for HDR capability check Harry Wentland (1): drm/amd/display: Pass init_data into DCN resource creation Hawking Zhang (4): drm/amdgpu: update atomfirmware header with ecc related members drm/amdgpu: add atomfirmware helper function to query ecc status drm/amdgpu: add atomfirmware helper function to query sram ecc caps drm/amdgpu: query sram ecc/ecc availability from atombios Huang Rui (63): drm/amd/powerplay: use REG32_PCIE wrapper instead for powerplay drm/amdgpu: use REG32_PCIE wrapper instead for psp drm/amd/powerplay: add new smu ip block drm/amd/powerplay: add smu11 sub block for SMU IP drm/amd/powerplay: add firmware loading interface drm/amd/powerplay: add fw load checking interface drm/amd/powerplay: add interface to read pptable from vbios drm/amd/powerplay: add placeholder of smu_initialize_pptable drm/amd/powerplay: add interface to init smc tables (v2) drm/amd/powerplay: add interface to init power (v2) drm/amd/powerplay: add interface to get vbios bootup values (v2) drm/amd/powerplay: add interface to check pptable (v2) drm/amd/powerplay: add interface to init fb allocations (v2) drm/amd/powerplay: add interface to parse pptable (v2) drm/amd/powerplay: add interface to populate smc pptable (v2) drm/amd/powerplay: add interface to check fw version (v2) drm/amd/powerplay: add interface to write pptable (v2) drm/amd/powerplay: add interface to set min dcef deep sleep (v2) drm/amd/powerplay: add interface to set tool table location (v2) drm/amd/powerplay: add interface to allocate memory pool (v2) drm/amd/powerplay: add interface to notify memory pool location (v2) drm/amd/powerplay: add interfaces for smu resume drm/amd/powerplay: add resume sequence placeholder for smu ip block drm/amdgpu: enable new smu ip block for vega20 drm/amd/powerplay: add new ppsmc header for smu11 (v2) drm/amd/powerplay: add pptable header for smu11 drm/amdgpu: update atomfirmware header for smu11 drm/amdgpu: update new members in atomfirmware drm/amd/powerplay: add smu table context structure drm/amd/powerplay: add get atom data table helper drm/amdgpu: move get_index_into_master_table macro into atomfirmware header drm/amd/powerplay: implement read_pptable_from_vbios function for smu11 drm/amd/powerplay: update pptable header for smu11 drm/amd/powerplay: add data structure of bootup values drm/amd/powerplay: implement get_vbios_bootup_values function for smu11 (v2) drm/amd/powerplay: implement get_clk_info_from_vbios function for smu11 (v2) drm/amd/powerplay: add vega20 pptable function file drm/amd/powerplay: add append_powerplay_table function drm/amd/powerplay: add get_max_sustainable_clock function drm/amd/powerplay: add the function to set deep sleep dcefclk drm/amd/powerplay: add two interfaces to set_active_display_count and store_cc6_data drm/amd/powerplay: add smu display configuration change function drm/amd/powerplay: add get_clock_by_type interface for display drm/amd/powerplay: add interface to get max high clocks for display drm/amd/powerplay: add interface to get clock by type with latency for display (v2) drm/amd/powerplay: add interface to get clock by type with voltage for display drm/amd/powerplay: add interface to request display clock voltage drm/amd/powerplay: add interface to get dal power level drm/amd/powerplay: add interface to get performance level drm/amd/powerplay: add interface to get current shallow sleep clocks drm/amd/powerplay: add interface to get current clocks for display drm/amd/powerplay: add interface to notify smu enable pme restore register drm/amd/powerplay: implement interface to set watermarks for clock ranges drm/amd/powerplay: remove unnecessary checking in smu_hw_fini drm/amd/powerplay: don't check hwmgr while using the sw smu drm/amd/powerplay: fix smc messsage index report drm/amd/powerplay: fix byte alignment issue of smu11 pptable drm/amd/powerplay: move setting allowed mask and feature enabling together drm/amd/powerplay: fix the issue of checking on message mapping drm/amd/powerplay: use REG32_PCIE wrapper instead for sw smu drm/amd/powerplay: fix raven issue for sw smu drm/amdgpu: enable gfxoff again on raven series (v2) drm/amdgpu: add one rlc version into gfxoff blacklist Hugo Hu (2): drm/amd/display: Programming correct VRR_EN bit in VTEM structure drm/amd/display: Handle branch device with DFP count = 0 case. Jakub Wilk (1): drm/ttm: Fix spelling of "KiB" Joshua Aberback (1): drm/amd/display: Populate macro_tile_size field for dml Josip Pavic (2): drm/amd/display: optionally optimize edp link rate based on timing drm/amd/display: reduce abm min reduction, deviation gain and contrast factor Jun Lei (8): drm/amd/display: PPLIB Hookup drm/amd/display: Add p_state_change_support flag to dc_clocks drm/amd/display: Add ability to override bounding box in DC construct drm/amd/display: add full update commit hint struct drm/amd/display: implement bounding box update based on uclk breakdown drm/amd/display: fix up reference clock abstractions drm/amd/display: extend EDID support to 1kb drm/amd/display: add preferred pipe split logic Ken Chalmers (1): drm/amd/display: Increase DP blank timeout from 30 ms to 50 ms Kent Russell (1): drm/amdgpu: Add sysfs files for returning VRAM/GTT info v2 Kevin Wang (42): drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI) drm/amd/powerplay: implement smu send message functions for smu11 (v3) drm/amd/powerplay: implement check_fw_status function for smu11 drm/amd/powerplay: implement check_fw_version function for smu11 drm/amd/powerplay: implement smu_init[fini]_smc_tables for smu11 drm/amd/powerplay: implement smu dpm context functions for smu11 drm/amd/powerplay: implement smu_init[fini]_power function for smu11 drm/amd/powerplay: implement smu_init(fini)_fb_allocations function drm/amd/powerplay: remove header of smu_v11_0_pptable drm/amd/powerplay: implement smu_alloc[free]_memory pool function drm/amd/powerplay: implement notify_memory_pool_location function for smu11 drm/amd/powerplay: add enum smu_msg_type to header drm/amd/powerplay: implement smu vega20_message_map for vega20 drm/amd/powerplay: use virtual msg index to replace asic-related msg index drm/amd/powerplay: replace SMU_MSG_XXX with PPSMC_MSG_XXX message index for smu11 (v2) drm/amd/powerplay: implement smu_init_display for smu11 drm/amd/powerplay: implement smu_run_afll_btc function drm/amd/powerplay: implement smu feature functions drm/amd/powerplay: implement feature get&set functions drm/amd/powerplay: implement smu_notify_display_change function for smu11 drm/amd/powerplay: implement get_current_clk_freq for smu11 drm/amd/powerplay: implement smu update table function drm/amd/powerplay: implement is_support_sw_smu function for new smu drm/amd/powerplay: implement sysfs of amdgpu_get_busy_percent for smu11 drm/amd/powerplay: implement sysfs of pp_table for smu11 (v2) drm/amd/powerplay: implement sensor of SCLK and MCLK for smu11 drm/amd/powerplay: implement sensor of thermal_get_temperature for smu11 drm/amd/powerplay: implement sensor of get_gpu_power for smu11 drm/amd/powerplay: implement sensor of get_gfx_vdd for smu11 drm/amd/powerplay: implement sensor of get feature mask drm/amd/powerplay: implement sysfs of get num states function drm/amd/powerplay: implement sysfs of pp_cur_state function drm/amd/powerplay: implement sysfs of pp_force_state for sw-smu drm/amd/powerplay: implement update enabled feature state to smc for smu11 drm/amd/powerplay: hwmon don't check powerplay when sw smu is enabled drm/amd/powerplay: implement uvd & vce dpm enable functions drm/amd/powerplay: implement sensor of uvd & vce power state for smu11 drm/amd/powerplay: implement dpm enable functions of uvd & vce for smu drm/amd/powerplay: enable amdgpu dpm for smu drm/amd/powerplay: debugfs don't check powerplay when SW SMU is enabled. drm/amd/powerplay: simplify sw-smu message map macro drm/amd/powerplay: move the smc_if_version to asic file Leo (Hanghong) Ma (2): drm/amd/display: Expose generic SDP message access interface drm/amd/display: Generic SDP message access in amdgpu Likun Gao (48): drm/amd/powerplay: init microcode for smu11 drm/amd/powerplay: add function to parse pptable for smu11 drm/amd/powerplay: add function to check pptable for smu11 drm/amd/powerplay: update hw fini function to relase some memory drm/amd/powerplay: add function to populate smc pptable for smu11 drm/amd/powerplay: add function to write pptable for smu11 (v2) drm/amd/powerplay: add function to set min dcef deep sleep for smu11 (v2) drm/amd/powerplay: add function to set tool table location for smu11 (v2) drm/amd/powerplay: expose the function of smu read argument drm/amd/powerplay: Change the allocate method of dpm context for smu11. drm/amd/powerplay: set defalut dpm table for smu drm/amd/powerplay: add function to populate umd state clk. drm/amd/powerplay: add function to get power limit for smu11 (v2) drm/amd/powerplay: print clock levels for smu11 (v2) drm/amd/powerplay: add function to get thermal range drm/amd/powerplay: add function to set thermal range drm/amd/powerplay: add function to enable thermal alert drm/amd/powerplay: add function to set fan table to control thermal drm/amd/powerplay: add function to start thermal control drm/amd/powerplay: upload dpm level for smu11 drm/amd/powerplay: force clock levels for smu11 drm/amd/powerplay: add function to store overdrive information for smu11 drm/amd/powerplay: add function to set default overdrive settings drm/amd/powerplay: add golden dpm table to backup default DPM table (v2) drm/amd/powerplay: print overdrive percentage information for smu11 drm/amd/powerplay: get overdrive clock and voltage information drm/amd/powerplay: add sys interface for pcie for smu drm/amd/powerplay: add function to update overdrive settings drm/amd/powerplay: add sys interface for set sclk_od/mclk_od for smu drm/amd/powerplay: add sys interface to set pp_od_clk_voltage for smu drm/amd/powerplay: adjust power state when set od_clk drm/amd/powerplay: dpm clk can be set only when performance level is manual drm/amd/powerplay: Unify smu handle task function (v2) drm/amd/powerplay: add function to get sclk and mclk drm/amd/powerplay: add fan rpm limit interface for hwmon drm/amd/powerplay: add fan input interface for hwmon drm/amd/powerplay: set fan target interface for hwmon drm/amd/powerplay: get eclk/vclk/dclk for smu11 drm/amd/powerplay: set dpm table of vclk/dclk/eclk for smu11 (v2) drm/amd/powerplay: add suspend and resume function for smu drm/amd/powerplay: add condition for smc table hw init drm/amd/powerplay: support sysfs to get socclk, fclk, dcefclk drm/amd/powerplay: support sysfs to set socclk, fclk, dcefclk drm/amd/powerplay: add override pcie parameters drm/amd/powerplay: support sysfs to set/get pcie drm/amd/powerplay: add limit of pp_feature for smu (v3) drm/amd/powerplay: add od condition for power limit drm/amd/powerplay: fix pcie sysfs interface when set wrong value Mario Kleiner (1): drm/amd/display: Use vrr friendly pageflip throttling in DC. Mark McGarrity (1): drm/amd/display: 3.2.19 Martin Leung (1): drm/amd/display: half bandwidth for YCbCr420 during validation Martin Tsai (1): drm/amd/display: Poll pending DOWN_REP before enabling the link Mathias Fröhlich (1): drm/amd/display: Fix reference counting for struct dc_sink. Murton Liu (1): drm/amd/display: Fix Divide by 0 in memory calculations Nathan Chancellor (2): drm/amd/display: Pass app_tf by value rather than by reference drm/amd/powerplay: Zero initialize num_of_levels in vega20_set_single_dpm_table Nicholas Kazlauskas (17): drm/amd/display: Reset planes that were disabled in init_pipes drm/amd/display: Set stream->mode_changed when connectors change drm/amd/display: Add plane capabilities to dc_caps drm/amd/display: Drop underlay plane support drm/amd/display: Create overlay planes drm/amd/display: Update plane tiling attributes for stream updates drm/amdgpu: Bump amdgpu version for per-flip plane tiling updates drm/amd/display: Drop atomic_obj_lock for private obj drm/amd/display: Don't ASSERT when total_planes == AMDGPU_MAX_PLANES drm/amd/display: Expose support for alpha blending on overlays drm/amd/display: Fix plane address updates for video surface formats drm/amdgpu: Clear VRAM for DRM dumb_create buffers drm/amdgpu: Only clear dumb buffers if ring is enabled drm/amd/display: Respect DRM framebuffer info for video surfaces drm/amd/display: Reset alpha state for planes to the correct values drm/amd/display: Use drm helper for resetting plane state drm/amd/display: Only put primary planes into the mode_info->planes list Nikola Cornij (1): drm/amd/display: Pass SDP spliting in parameters Oak Zeng (1): drm/amdgpu: Cosmetic change for calling func amdgpu_gmc_vram_location Philip Yang (7): drm/amdgpu: use HMM callback to replace mmu notifier drm/amdkfd: avoid HMM change cause circular lock drm/amdgpu: replace get_user_pages with HMM mirror helpers drm/amdgpu: fix HMM config dependency issue drm/amdkfd: support concurrent userptr update for HMM drm/amdgpu: support userptr cross VMAs case with HMM drm/amdgpu: more descriptive message if HMM not enabled Reza Amini (1): drm/amd/display: Fix VTEM InfoPacket programming Samson Tam (1): drm/amd/display: Link train only when link is DP and backend is enabled SivapiriyanKumarasamy (1): drm/amd/display: Add PSR SMU Interrupt support Tao Zhou (1): drm/amdgpu: add thick tile mode settings for Oland of gfx6 Thomas Lim (1): drm/amd/display: Respect aux return values Thomas Zimmermann (5): staging/vboxvideo: Use same BO mmap offset as other drivers drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant drm/ttm: Remove file_page_offset parameter from ttm_bo_device_init() drm/ttm: Quick-test mmap offset in ttm_bo_mmap() drm: Use the same mmap-range offset and size for GEM and TTM Tom St Denis (1): drm/amd/amdgpu: Add ENGINE_CNTL register to vcn10 headers Tyler DiBattista (1): drm/amd/display: Add function to create 4d19 fixed point Wenjing Liu (3): drm/amd/display: add pipe lock during stream update drm/amd/display: add i2c over aux failure handling drm/amd/display: add global master update lock interfaces Wentao Lou (1): drm/amdkfd/sriov:Put the pre and post reset in exclusive mode v2 Wesley Chalmers (2): drm/amd/display: Set flip pending for pipe split drm/amd/display: Fix DP audio regression Yang Wei (1): drm/amd/powerplay: fix semicolon code style issue Yong Zhao (2): drm/amdgpu: Eliminate the set_pde_pte function pointer in amdgpu_gmc_funcs drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 Yongqiang Sun (4): drm/amd/display: Refactor reg_set and reg_update. drm/amd/display: Combine field toggle macro and sequence write macro. drm/amd/display: change generic_reg_wait to void. drm/amd/display: Move dm_read_reg_func to dc_helper. YueHaibing (4): drm/ttm: remove set but not used variable 'bdev' drm/amdgpu: remove set but not used variables 'vm, bo' drm/amdgpu: remove set but not used variable 'vbi_time_out' drm/ttm: remove set but not used variable 'rdev' hersen wu (1): drm/amd/display: program default output gamma kbuild test robot (2): drm/amd/powerplay: fix memdup.cocci warnings drm/amdgpu: fix semicolon.cocci warnings mmcgarri (1): drm/amd/display: 3.2.18 shaoyunl (4): drm/powerplay: print current clock level when dpm is disabled on vg20 drm/amdgpu: Enable XGMI mapping for peer device drm/amdgpu: XGMI pstate switch initial support drm/amdgpu: XGMI pstate switch initial support xinhui pan (31): drm/amdgpu: add ta ras fw info (v2) drm/amdgpu: export ta fw info drm/amdgpu: add module parameters for ras drm/amdgpu: add ta_ras_if.h drm/amdgpu: add psp ras callback func and macro drm/amdgpu: add psp ras subsystem infrastructure (v2) drm/amdgpu: add psp v11 ras callback drm/amdgpu: add psp cmd submit timeout drm/amdgpu: add amdgpu_ras.c to support ras (v2) drm/amdgpu: add debugfs ctrl node drm/amdgpu: reserve bad pages during recovery drm/amdgpu: enable ras on sdma4 drm/amdgpu: enable ras on gmc9 drm/amdgpu: Add a new flag to AMDGPU_CTX_OP_QUERY_STATE2 drm/amdgpu: add ioctl query for enabled ras features (v2) drm/amdgpu: skip gpu reset when ras error occured drm/amdgpu: add human readable debugfs control support (v2) drm/amdgpu: handle ras resume drm/amdgpu: lookup vbios table to check ecc capability drm/amdgpu: export both supported and enabled ras features drm/amdgpu: Fix NULL pointer when ta is missing drm/amdgpu: Fix warning when lockdep is enabled drm/amdgpu: add new member hw_supported drm/amdgpu: Fix ras debugfs data parse drm/amdgpu: Fix lockdep warning more gracely drm/amdgpu: let ras initialization a little noticeable drm/amdgpu: add new ras workflow control flags drm/amdgpu: Fix some sanity check drm/amdgpu: use macro instead of enum for flags drm/amdgpu: Fix amdgpu ras to ta enums conversion drm/amdgpu: remove per obj debugfs write drivers/gpu/drm/Kconfig | 2 - drivers/gpu/drm/Makefile | 1 - drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 21 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 73 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 9 - drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 33 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 48 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 16 + drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 24 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 31 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 22 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 82 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 46 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 59 + drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 34 + drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 505 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 293 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 32 + drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 1449 ++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 291 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 19 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 917 ++------ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 82 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 127 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 270 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 109 + drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 161 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 16 +- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 19 + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 199 ++ drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 17 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 28 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 63 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 644 +++--- drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c | 3 +- drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 1 + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 93 + drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 40 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 212 +- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 3 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 22 +- drivers/gpu/drm/amd/amdgpu/ta_ras_if.h | 108 + drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 80 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 11 + drivers/gpu/drm/amd/amdkfd/kfd_events.c | 18 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 52 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 3 + drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 16 + drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 4 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 728 +++--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 6 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 53 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 155 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 22 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 126 +- drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c | 5 + drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 98 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 53 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 80 +- drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c | 22 +- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 256 ++- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 192 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 97 + drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 13 + drivers/gpu/drm/amd/display/dc/dc.h | 49 +- drivers/gpu/drm/amd/display/dc/dc_ddc_types.h | 2 + drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 18 +- drivers/gpu/drm/amd/display/dc/dc_helper.c | 76 +- drivers/gpu/drm/amd/display/dc/dc_stream.h | 8 + drivers/gpu/drm/amd/display/dc/dc_types.h | 5 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 146 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.h | 5 +- .../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 7 +- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h | 22 +- drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c | 12 +- drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h | 8 +- .../drm/amd/display/dc/dce/dce_stream_encoder.c | 5 +- .../drm/amd/display/dc/dce100/dce100_resource.c | 8 + .../amd/display/dc/dce110/dce110_hw_sequencer.c | 60 +- .../drm/amd/display/dc/dce110/dce110_resource.c | 20 + .../drm/amd/display/dc/dce112/dce112_resource.c | 10 +- .../drm/amd/display/dc/dce120/dce120_resource.c | 8 + .../gpu/drm/amd/display/dc/dce80/dce80_resource.c | 17 + .../gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.c | 36 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.h | 4 - drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c | 7 - .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c | 7 - .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c | 20 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 5 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 3 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 89 +- .../display/dc/dcn10/dcn10_hw_sequencer_debug.c | 4 +- .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c | 2 - .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 34 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.h | 2 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.c | 31 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.h | 3 +- drivers/gpu/drm/amd/display/dc/dm_helpers.h | 2 +- drivers/gpu/drm/amd/display/dc/dm_pp_smu.h | 8 +- drivers/gpu/drm/amd/display/dc/dm_services.h | 36 +- drivers/gpu/drm/amd/display/dc/dm_services_types.h | 2 +- .../gpu/drm/amd/display/dc/dml/display_mode_lib.c | 40 +- .../gpu/drm/amd/display/dc/dml/display_mode_lib.h | 5 +- .../drm/amd/display/dc/dml/display_mode_structs.h | 5 +- .../amd/display/dc/dml/display_rq_dlg_helpers.c | 3 + drivers/gpu/drm/amd/display/dc/inc/clock_source.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/core_types.h | 14 +- drivers/gpu/drm/amd/display/dc/inc/dc_link_ddc.h | 5 +- drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h | 2 + drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 2 + drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 4 + drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 4 + drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 6 + .../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 7 +- .../drm/amd/display/dc/inc/hw/timing_generator.h | 2 + drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 4 + drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 12 +- drivers/gpu/drm/amd/display/dc/inc/resource.h | 14 +- .../display/dc/virtual/virtual_stream_encoder.c | 3 +- drivers/gpu/drm/amd/display/include/fixed31_32.h | 2 + drivers/gpu/drm/amd/display/include/signal_types.h | 5 + .../drm/amd/display/modules/color/color_gamma.c | 2 + .../drm/amd/display/modules/freesync/freesync.c | 175 +- .../gpu/drm/amd/display/modules/inc/mod_freesync.h | 2 +- .../drm/amd/display/modules/power/power_helpers.c | 15 +- drivers/gpu/drm/amd/include/amd_shared.h | 3 + .../drm/amd/include/asic_reg/vcn/vcn_1_0_offset.h | 2 + .../drm/amd/include/asic_reg/vcn/vcn_1_0_sh_mask.h | 5 + drivers/gpu/drm/amd/include/atomfirmware.h | 97 +- drivers/gpu/drm/amd/include/linux/chash.h | 366 --- drivers/gpu/drm/amd/lib/Kconfig | 28 - drivers/gpu/drm/amd/lib/Makefile | 32 - drivers/gpu/drm/amd/lib/chash.c | 638 ------ drivers/gpu/drm/amd/powerplay/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 10 +- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1250 ++++++++++ drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 3 +- .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 3 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c | 30 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h | 4 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 13 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.c | 66 + drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.h | 31 + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c | 39 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.h | 5 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 21 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c | 119 + drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.h | 29 + drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 9 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h | 2 + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c | 12 + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.h | 1 + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 246 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h | 7 + drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 769 +++++++ drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h | 89 + .../gpu/drm/amd/powerplay/inc/smu_v11_0_ppsmc.h | 128 ++ .../gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h | 147 ++ drivers/gpu/drm/amd/powerplay/inc/vega20_ppsmc.h | 3 +- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 2026 ++++++++++++++++ .../drm/amd/powerplay/smumgr/polaris10_smumgr.c | 2 + .../gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c | 4 + drivers/gpu/drm/amd/powerplay/smumgr/smu9_smumgr.c | 6 +- .../gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c | 26 +- .../gpu/drm/amd/powerplay/smumgr/vega20_smumgr.h | 1 + drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 2413 ++++++++++++++++++++ drivers/gpu/drm/amd/powerplay/vega20_ppt.h | 129 ++ drivers/gpu/drm/ast/ast_drv.h | 2 - drivers/gpu/drm/ast/ast_ttm.c | 10 +- drivers/gpu/drm/bochs/bochs.h | 2 - drivers/gpu/drm/bochs/bochs_mm.c | 10 +- drivers/gpu/drm/cirrus/cirrus_drv.h | 1 - drivers/gpu/drm/cirrus/cirrus_ttm.c | 10 +- drivers/gpu/drm/drm_gem.c | 17 - drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 12 +- drivers/gpu/drm/mgag200/mgag200_drv.h | 1 - drivers/gpu/drm/mgag200/mgag200_ttm.c | 10 +- drivers/gpu/drm/nouveau/nouveau_drv.h | 2 - drivers/gpu/drm/nouveau/nouveau_ttm.c | 4 - drivers/gpu/drm/qxl/qxl_drv.h | 3 - drivers/gpu/drm/qxl/qxl_ttm.c | 11 +- drivers/gpu/drm/radeon/radeon_ttm.c | 17 +- drivers/gpu/drm/ttm/ttm_bo.c | 6 +- drivers/gpu/drm/ttm/ttm_bo_vm.c | 3 + drivers/gpu/drm/ttm/ttm_execbuf_util.c | 2 - drivers/gpu/drm/ttm/ttm_memory.c | 10 +- drivers/gpu/drm/virtio/virtgpu_ttm.c | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 11 +- drivers/staging/vboxvideo/vbox_drv.h | 2 - drivers/staging/vboxvideo/vbox_ttm.c | 12 +- include/drm/drm_vma_manager.h | 12 + include/drm/ttm/ttm_bo_driver.h | 2 +- include/uapi/drm/amdgpu_drm.h | 35 + include/uapi/linux/kfd_ioctl.h | 12 +- 218 files changed, 14663 insertions(+), 3877 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c create mode 100644 drivers/gpu/drm/amd/amdgpu/ta_ras_if.h delete mode 100644 drivers/gpu/drm/amd/include/linux/chash.h delete mode 100644 drivers/gpu/drm/amd/lib/Kconfig delete mode 100644 drivers/gpu/drm/amd/lib/Makefile delete mode 100644 drivers/gpu/drm/amd/lib/chash.c create mode 100644 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_ppsmc.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h create mode 100644 drivers/gpu/drm/amd/powerplay/smu_v11_0.c create mode 100644 drivers/gpu/drm/amd/powerplay/vega20_ppt.c create mode 100644 drivers/gpu/drm/amd/powerplay/vega20_ppt.h