[pull] amdgpu drm-next-5.4

Alex Deucher alexdeucher at gmail.com
Fri Aug 23 20:26:20 UTC 2019


Hi Dave, Daniel,

A few new bits for 5.4, mostly ongoing new asic support.  This is pretty much it
for 5.4.  We have a few patches for display enablement of renoir which should be
out next week (just wrapping up IP review).

The following changes since commit e7f7287bf5f746d29f3607178851246a005dd398:

  Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next (2019-08-12 14:20:21 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~agd5f/linux tags/drm-next-5.4-2019-08-23

for you to fetch changes up to b4d857ded1c50fb2bd1168d6f80ae81397ae468b:

  drm/amd/display: 3.2.48 (2019-08-23 11:46:12 -0500)

----------------------------------------------------------------
drm-next-5.4-2019-08-23:

amdgpu:
- Enable power features on Navi12
- Enable power features on Arcturus
- RAS updates
- Initial Renoir APU support
- Enable power featyres on Renoir
- DC gamma fixes
- DCN2 fixes
- GPU reset support for Picasso
- Misc cleanups and fixes

scheduler:
- Possible race fix

----------------------------------------------------------------
Aaron Liu (23):
      drm/amdgpu: fix no interrupt issue for renoir emu
      drm/amdgpu: enable dce virtual ip module for Renoir
      drm/amdgpu: add asic funcs for renoir
      drm/amdgpu: set rlc funcs for renoir
      drm/amdgpu: add psp_v12_0 for renoir (v2)
      drm/amdgpu: enable clock gating for renoir
      drm/amdgpu: enable power gating for renoir
      drm/amdgpu: update lbpw for renoir
      drm/amdgpu: set fw default loading by psp for renoir
      drm/amd/powerplay: add smu12_driver_if.h (v3)
      drm/amdgpu/powerplay: add initial renoir_ppt.c for renoir (v3)
      drm/amdgpu/powerplay: add smu_v12_0.c & smu_v12_0.h for renoir
      drm/amdgpu/powerplay: add smu ip block for renoir (v2)
      drm/amdgpu/powerplay: add power up/down SDMA interfaces for renoir
      drm/amd/powerplay: udpate smu_v12_0_check_fw_version (v2)
      drm/amdgpu: add set_gfx_cgpg implement (v2)
      drm/amdgpu: add and enable gfxoff feature
      drm/amd/powerplay: fix checking gfxoff status for rn
      drm/amd/powerplay: using valid mapping check for rn
      drm/amd/powerplay: add smu tables for rn
      drm/amd/powerplay: init smu tables for rn
      drm/amd/powerplay: add DPMCLOCKS table implementation
      drm/amdgpu: update gc/sdma goldensetting for rn

Ahmad Othman (1):
      drm/amd/display: Refactoring VTEM

Ahzo (1):
      drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)

Alex Deucher (11):
      drm/amdgpu: add navi14 PCI ID
      drm/amd/display: use kvmalloc for dc_state (v2)
      drm/amdgpu: flag renoir as experimental for now
      drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible
      drm/amdgpu/powerplay: silence a warning in smu_v11_0_setup_pptable
      drm/amdgpu/powerplay: Add smu_v12_0_ppsmc.h (v2)
      drm/amdgpu/powerplay/smu7: enable mclk switching if monitors are synced
      drm/amdgpu/powerplay/vega10: enable mclk switching if monitors are synced
      drm/amd/display: update bw_calcs to take pipe sync into account (v3)
      drm/amdgpu/display: add flag for multi-display mclk switching
      drm/amdgpu: set adev->num_vmhubs for gmc6,7,8

Andrey Grodzovsky (6):
      dmr/amdgpu: Fix compile error with CONFIG_DRM_AMDGPU_GART_DEBUGFS
      drm/amd/powerplay: Fix meaning of 0x1E PPSMC_MSG
      drm/amd/powerplay: add mode2 reset callback for pp_smu_mgr
      drm/amd/powerpay: Implement mode2 reset callback for SMU10
      drm/amd/poweplay: Add amd_pm_funcs callback for mode 2
      drm/amdgpu: Use new mode2 reset interface for RV.

Anthony Koo (5):
      drm/amd/display: fix issue where 252-255 values are clipped
      drm/amd/display: 3.2.45
      drm/amd/display: 3.2.46
      drm/amd/display: 3.2.47
      drm/amd/display: 3.2.48

Aric Cyr (2):
      drm/amd/display: 3.2.43
      drm/amd/display: 3.2.44

Bayan Zabihiyan (3):
      drm/amd/display: Fix frames_to_insert math
      drm/amd/display: add Cursor Degamma logic for DCN2
      drm/amd/display: Expose OTG_V_TOTAL_MID for HW Diags

Charlene Liu (4):
      drm/amd/display: wake up ogam mem pwr before programming ocsc
      drm/amd/display: enable dcn_mem_pwr as golden setting updates
      drm/amd/display: support spdif
      drm/amd/display: set av_mute in hw_init for HDMI

Chengming Gui (2):
      drm/amd/powerplay: remove redundancy debug log about smu unsupported features
      drm/amd/powerplay: add arcturus_is_dpm_running function for arcturus

Christian König (2):
      drm/scheduler: use job count instead of peek
      drm/amdgpu: fix dma_fence_wait without reference

Christoph Hellwig (4):
      drm/radeon: handle PCIe root ports with addressing limitations
      drm/amdgpu: handle PCIe root ports with addressing limitations
      drm/radeon: simplify and cleanup setting the dma mask
      drm/amdgpu: simplify and cleanup setting the dma mask

Christophe JAILLET (2):
      drm/amd/display: Fix a typo - dce_aduio_mask --> dce_audio_mask
      drm/amdgpu: Fix a typo in the include header guard of 'navi12_ip_offset.h'

Colin Ian King (4):
      drm/amd/powerplay: remove redundant duplicated return check
      drm/amdgpu/powerplay: fix spelling mistake "unsuported" -> "unsupported"
      drm/amdgpu/powerplay: remove redundant assignment to variable baco_state
      drm/amd/display: fix a potential null pointer dereference

David Francis (7):
      drm/amd/display: Remove drm_dsc_dc.c
      Revert "drm/amd/display: skip dsc config for navi10 bring up"
      Revert "drm/amd/display: navi10 bring up skip dsc encoder config"
      Revert "drm/amd/display: add global master update lock for DCN2"
      Revert "drm/amd/display: Fix underscan not using proper scaling"
      drm/amd/display: Enable SST DSC in DM
      drm/amd/display: MST topology debugfs

David Galiffi (1):
      drm/amd/display: Synchronous DisplayPort Link Training

Derek Lai (1):
      drm/amd/display: Use res_cap to acquire i2c instead of pipe count

Dmytro Laktyushkin (10):
      drm/amd/display: make firmware info only load once during dc_bios create
      drm/amd/display: update optc odm interface for more than 2 opps
      drm/amd/display: fix dcn20 global sync dml param extraction
      drm/amd/display: fix calc_pll_max_vco_construct
      drm/amd/display: re structure odm to allow 4 to 1 support
      drm/amd/display: fix dp stream enable
      drm/amd/display: fix odm pipe copy
      drm/amd/display: fix dcn20 odm dpp programming
      drm/amd/display: fix odm stream release
      drm/amd/display: fix odm validation

Eric Yang (1):
      drm/amd/display: Enable type C hotplug

Evan Quan (6):
      drm/amd/powerplay: update Arcturus smc fw and driver interface header
      drm/amd/powerplay: expose supported clock domains only through sysfs
      drm/amd/powerplay: get bootup fclk value
      drm/amd/powerplay: set Arcturus default fclk as bootup value on dpm disabled
      drm/amd/powerplay: correct SW smu11 thermal range settings
      drm/amd/powerplay: correct typo

Feifei Xu (1):
      drm/amdgpu: Set no-retry as default.

Frank.Min (4):
      drm/amdgpu: disable agp for sriov
      drm/amdgpu: unity mc base address for arcturus
      amd/amdgpu: add Arcturus vf DID support
      amd/amdkfd: add Arcturus vf DID support

Gang Ba (1):
      drm/amd/amdgpu: Update VM function pointer

Guchun Chen (2):
      drm/amdgpu: add check to avoid array bound issue
      drm/amdgpu: correct ras error count type

Huang Rui (16):
      drm/amdgpu: add renoir header files (v2)
      drm/amdgpu: add renoir asic_type enum
      drm/amdgpu: add renoir support for gpu_info and ip block setting
      drm/amdgpu: add soc15 common ip block support for renoir
      drm/amdgpu: add gmc v9 supports for renoir
      drm/amdgpu: set fw load type for renoir
      drm/amdgpu: add gfx support for renoir
      drm/amdgpu: add sdma support for renoir
      drm/amdgpu: set ip blocks for renoir
      drm/amdgpu: add renoir pci id
      drm/amdgpu: add gfx golden settings for renoir (v2)
      drm/amdgpu: add sdma golden settings for renoir
      drm/amdgpu: use direct loading on renoir vcn for the moment
      drm/amdgpu: skip mec2 jump table loading for renoir
      drm/amdgpu: skip dpm init for renoir
      drm/amd/powerplay: powerup sdma/vcn for all apu series

Ilya Bakoulin (4):
      drm/amd/display: Update DML parameters
      drm/amd/display: HUBP/HUBBUB register programming fixes
      drm/amd/display: Fix type of ODMCombineType field
      drm/amd/display: set Hratio and VRatio in dml

Jaehyun Chung (3):
      drm/amd/display: Add work-around option to skip DCN20 clock updates
      drm/amd/display: Add VM page fault handle implementation
      drm/amd/display: Enable HW rotation

Joseph Gravenor (1):
      drm/amd/display: Implement voltage limitation stub

Joshua Aberback (1):
      drm/amd/display: Properly read LVTMA_PWRSEQ_CNTL

Josip Pavic (1):
      drm/amd/display: load iram for abm 2.3

Julian Parkin (4):
      drm/amd/display: Improve sharing of HUBBUB register lists
      drm/amd/display: Remove duplicate interface for programming FB
      drm/amd/display: Remove redundant definition of dwb_source enums
      drm/amd/display: Delete dead code in command_table_helper

Jun Lei (6):
      drm/amd/display: fixup DPP programming sequence
      drm/amd/display: wait for pending complete when enabling a plane
      drm/amd/display: clean up DML for DCN2x
      drm/amd/display: fix pipe selection logic in validate
      drm/amd/display: fix DML not calculating delivery time
      drm/amd/display: revert wait in pipelock

Kenneth Feng (2):
      drm/amd/powerplay: change smu_read_sensor sequence in smu
      drm/amd/amdgpu: disable MMHUB PG for navi10

Kent Russell (2):
      drm/powerplay: Fix Vega20 Average Power value v4
      drm/powerplay: Fix Vega20 power reading again

Kevin Wang (7):
      drm/amd/powerplay: fix message of SetHardMinByFreq failed when feature is disabled
      drm/amdgpu: fix typo error amdgput -> amdgpu
      drm/amdgpu: use exiting amdgpu_ctx_total_num_entities function
      drm/amd/powerplay: add smu_smc_read_sensor support for arcturus
      drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable
      drm/amd/powerplay: remove duplicate macro smu_get_uclk_dpm_states in amdgpu_smu.h
      drm/amd/powerpaly: fix navi series custom peak level value error

Le Ma (13):
      drm/amdgpu: add gfx clock gating for Arcturus
      drm/amdgpu: enable gfx clock gating for Arcturus
      drm/amdgpu: add hdp clock gating for Arcturus
      drm/amdgpu: enable hdp clock gating for Arcturus
      drm/amdgpu: support sdma clock gating for more instances
      drm/amdgpu: add sdma clock gating for Arcturus
      drm/amdgpu: enable sdma clock gating for Arcturus
      drm/amdgpu: split athub clock gating from mmhub
      drm/amdgpu: add GFX_CP_LS flag to Arcturus
      drm/amdgpu: increase CGCG gfx idle threshold for Arcturus
      drm/amdgpu: add mmhub clock gating for Arcturus
      drm/amdgpu: enable mmhub clock gating for Arcturus
      drm/amdgpu/powerplay: update Arcturus smu version in new place

Leo Li (1):
      drm/amd/display: Load NV12 SOC BB from firmware

Leo Liu (4):
      drm/amdgpu: enable Renoir VCN firmware loading
      drm/amdgpu: enable Doorbell support for Renoir (v2)
      drm/amdgpu: add VCN2.0 to Renoir IP blocks
      drm/amdgpu/powerplay: add Renoir VCN power management

Lewis Huang (1):
      drm/amd/display: reprogram VM config when system resume

Marek Olšák (1):
      Revert "drm/amdgpu: fix transform feedback GDS hang on gfx10 (v2)"

Martin Leung (4):
      drm/amd/display: Make init_hw and init_pipes generic for seamless boot
      drm/amd/display: fix dcn-specific clk_mgr init_clocks
      drm/amd/display: enabling seamless boot sequence for dcn2
      drm/amd/display: cleaned up coding error in init_hw

Michael Strauss (1):
      drm/amd/display: Enable MPO with pre-blend color processing (RGB)

Michel Dänzer (1):
      drm/amdgpu: Update pitch on page flips without DC as well

Nathan Chancellor (1):
      drm/amd/display: Fix 32-bit divide error in wait_for_alt_mode

Nicholas Kazlauskas (6):
      drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2
      drm/amd/display: Calculate bpc based on max_requested_bpc
      drm/amd/display: Check return code for CRC drm_crtc_vblank_get
      drm/amd/display: Use connector list for finding DPRX CRC aux
      drm/amd/display: Split out DC programming for CRC capture
      drm/amd/display: Lock the CRTC when setting CRC source

Nicolai Hähnle (1):
      drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl

Nikola Cornij (7):
      drm/amd/display: Change DSC policy from slices per column to minimum slice height
      drm/amd/display: Set DSC before DIG front-end is connected to its back-end
      drm/amd/display: Remove 4:2:2 DSC support
      drm/amd/display: Correct DSC PPS log
      drm/amd/display: Add and refine DSC logs in enable sequence
      drm/amd/display: Zero-out dsc init regs
      drm/amd/display: Fix number of slices not being checked for dsc

Oak Zeng (2):
      drm/amdgpu: Export function to flush TLB of specific vm hub
      drm/amdkfd/gfx10: Calling amdgpu functions to invalidate TLB

Pierre-Eric Pelloux-Prayer (1):
      drm/amdgpu: fix gfx9 soft recovery

Prike Liang (15):
      drm/amdgpu: enable gfx clock gating for rn
      drm/amdgpu: enable mmhub clock gating for rn
      drm/amdgpu: enable sdma clock gating for rn
      drm/amdgpu: enable BIF clock gating for rn
      drm/amdgpu: enable HDP clock gating for rn
      drm/amdgpu: enable rom clock gating for rn
      drm/amdgpu: enable vcn clock gating for rn
      drm/amdgpu: enable IH clock gating for rn
      drm/amdgpu: enable athub clock gating for rn
      drm/amdgpu: enable DF clock gating for rn
      drm/amdgpu/mmhub1: set mmhub clock gating for rn
      drm/amdgpu/sdma4: set sdma clock gating for rn
      drm/amdgpu: enable SDMA power gating for rn
      drm/amd/powerplay: enable renoir dpm feature
      drm/amd/powerplay: Disable renoir smu feature retrieve for the moment

Qingqing Zhuo (3):
      drm/amd/display: Add enum for H-timing divider mode
      drm/amd/display: refactor Device ID for external chips
      drm/amd/display: remove unused function

Stephen Rothwell (1):
      drm/amdgpu: MODULE_FIRMWARE requires linux/module.h

Su Sung Chung (2):
      drm/amd/display: refactor gpio to allocate hw_container in constructor
      drm/amd/display: fix audio endpoint not getting disabled issue

Tao Zhou (6):
      drm/amdgpu: add sub block parameter in ras inject command
      drm/amdgpu: add amdgpu_mmhub_funcs definition
      drm/amdgpu: support mmhub ras in amdgpu ras
      drm/amdgpu: create mmhub ras framework
      drm/amdgpu: remove ras block's feature status info in sysfs
      drm/amdgpu: implement querying ras error count for mmhub

Thong Thai (2):
      Revert "drm/amdgpu: use direct loading on renoir vcn for the moment"
      drm/amdgpu: enable VCN DPG for Renoir

Tianci.Yin (1):
      drm/amdgpu/psp: move TMR to cpu invisible vram region

Vitaly Prosyak (3):
      drm/amd/display: Add 22, 24, and 26 degamma
      drm/amd/display: Add HLG support in color module
      drm/amd/display: Check if set_blank_data_double_buffer exists before call

Wenjing Liu (3):
      drm/amd/display: reset drr programming on pipe reset
      drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset
      drm/amd/display: check hpd before retry verify link cap

Wyatt Wood (4):
      drm/amd/display: Add Logging for Gamma Related information (1/2)
      drm/amd/display: Add Logging for Gamma Related information (2/2)
      drm/amd/display: add null checks before logging
      drm/amd/display: Add Logging for Gamma Related information

Xiaojie Yuan (15):
      drm/amdgpu: enable gfx clock gatings for navi12
      drm/amdgpu: enable hdp clock gating for navi12
      drm/amdgpu/sdma5: set sdma clock gating for navi12
      drm/amdgpu: enable sdma clock gating for navi12
      drm/amdgpu/mmhub2: set clock gating for navi12
      drm/amdgpu: enable mmhub clock gating for navi12
      drm/amdgpu: enable ih clock gating for navi12
      drm/amdgpu/athub2: set clock gating for navi12
      drm/amdgpu: enable athub clock gating for navi12
      drm/amdgpu: enable vcn clock gating for navi12
      drm/amdgpu: remove special autoload handling for navi12
      drm/amdgpu: fix debug level for ppt offset/size
      drm/amdgpu: add firmware header printing for psp fw loading (v2)
      drm/amdgpu: remove redundant argument for psp_funcs::cmd_submit callback
      drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x

Yogesh Mohan Marimuthu (1):
      drm/amd/display: fix trigger not generated for freesync

Yong Zhao (5):
      drm/amdgpu: Add printing for RW extracted from VM_L2_PROTECTION_FAULT_STATUS
      drm/amdgpu: Add more page fault info printing for GFX10
      drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 for GFX10
      drm/amdkfd: Fill amdgpu_task_info for KFD VMs
      drm/amdkfd: Fill the name field in node topology with asic name v2

Yongqiang Sun (2):
      drm/amd/display: Add PIXEL_RATE control regs for more instances
      drm/amd/display: Add DFS reference clock field

YueHaibing (5):
      drm/amdgpu: remove set but not used variable 'psp_enabled'
      drm/amdgpu: remove duplicated include from gfx_v9_0.c
      drm/amd/display: remove duplicated include from dc_link.c
      drm/amdkfd: remove set but not used variable 'pdd'
      drm/amdkfd: Make deallocate_hiq_sdma_mqd static

Zi Yu Liao (2):
      drm/amd/display: fix MPO HUBP underflow with Scatter Gather
      drm/amd/display: fix stuck test pattern on right half of display

hersen wu (1):
      drm/amd/display: flicking observed while installing driver on Navi10 CF

tiancyin (2):
      drm/amd/powerplay: re-define smu interface version for smu v11
      drm/amd/powerplay: update smu11_driver_if_navi10.h

yanyan kang (1):
      drm/amd/display: audio cannot switch to internal when display turns off

 drivers/gpu/drm/amd/amdgpu/Makefile                |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c |  41 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c  |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |   9 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            |  46 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |  13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c           |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h            |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c            |   8 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h            |   9 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h          |  31 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             |  26 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |  83 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h            |   7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |  47 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c          |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c            |   8 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |   7 +
 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c            | 103 +++
 drivers/gpu/drm/amd/amdgpu/athub_v1_0.h            |  30 +
 drivers/gpu/drm/amd/amdgpu/athub_v2_0.c            |   1 +
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c             |   4 +
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c             |   4 +
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c              |   4 +
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c              |   4 +
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c           |   1 +
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c             |  17 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |  82 +-
 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c           |   2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c             |  70 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c              |  23 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c              |  28 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c              |  28 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c              | 253 +++---
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            | 120 ++-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h            |   2 +
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c            |   3 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c            | 125 +++
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h            |   3 +
 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c             |  21 +
 drivers/gpu/drm/amd/amdgpu/nv.c                    |  22 +-
 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c             |   1 -
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c             |   1 -
 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c             | 565 ++++++++++++++
 drivers/gpu/drm/amd/amdgpu/psp_v12_0.h             |  30 +
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c              |   1 -
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             | 130 ++--
 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c             |   4 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |  97 ++-
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c       |   4 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |  19 +
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |   1 +
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  13 +-
 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  |  79 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c  | 138 +++-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h  |   6 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |  24 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |   4 +-
 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c  |   3 +-
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |   3 +-
 .../dc/bios/dce110/command_table_helper_dce110.c   |  36 +-
 .../dc/bios/dce112/command_table_helper2_dce112.c  |  36 +-
 .../dc/bios/dce112/command_table_helper_dce112.c   |  36 +-
 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c   |  33 +-
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c   |  10 +-
 .../amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c    |  17 +-
 .../drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c |  12 +-
 .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c   | 136 +++-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  89 ++-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      | 180 ++---
 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c  |   2 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   | 372 +++++++--
 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 179 +++--
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  | 277 +++----
 drivers/gpu/drm/amd/display/dc/dc.h                |  14 +-
 drivers/gpu/drm/amd/display/dc/dc_bios_types.h     |   5 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |   3 +
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h       |   5 +-
 drivers/gpu/drm/amd/display/dc/dc_link.h           |  10 +
 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c     |   6 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_audio.h     |   6 +-
 .../gpu/drm/amd/display/dc/dce/dce_clock_source.c  |  36 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h     |  68 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c    |  16 +-
 .../drm/amd/display/dc/dce/dce_stream_encoder.c    |  31 +
 .../drm/amd/display/dc/dce100/dce100_resource.c    |   6 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |  67 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.h    |  10 +-
 .../drm/amd/display/dc/dce110/dce110_resource.c    |   6 +-
 .../drm/amd/display/dc/dce112/dce112_resource.c    |   2 +-
 .../drm/amd/display/dc/dce120/dce120_resource.c    |   2 +-
 .../gpu/drm/amd/display/dc/dce80/dce80_resource.c  |  14 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c |   7 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c   |  16 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h   |   2 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c    |   4 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h    |   8 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c  |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h  |  26 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  | 352 +++++++--
 .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c  |  72 +-
 .../drm/amd/display/dc/dcn10/dcn10_link_encoder.h  |   3 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c   |  19 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.h   |   4 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c  |  25 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h  |  14 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c  |  10 +-
 .../amd/display/dc/dcn10/dcn10_stream_encoder.c    |  26 +
 .../amd/display/dc/dcn10/dcn10_stream_encoder.h    |   6 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c  |  31 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h  |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c   |  26 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.h   |  21 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c   | 122 +--
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c    |  88 ++-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h    |  16 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c  |  96 +--
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h  |  18 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 561 ++++++-------
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.h |   2 +-
 .../drm/amd/display/dc/dcn20/dcn20_link_encoder.c  |   1 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c   |   6 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.h   |   6 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c   |   1 -
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c  |  95 +--
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.h  |   7 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c  | 746 +++++++++++-------
 .../amd/display/dc/dcn20/dcn20_stream_encoder.c    |  37 +-
 .../display/dc/dml/dcn20/display_mode_vba_20v2.c   |  27 +
 .../drm/amd/display/dc/dml/display_mode_enums.h    |  22 +-
 .../drm/amd/display/dc/dml/display_mode_structs.h  |   3 +
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.c  |  13 +
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.h  |  18 +
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c        |  71 +-
 drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c    | 453 -----------
 .../amd/display/dc/gpio/dce110/hw_factory_dce110.c |  18 +-
 .../amd/display/dc/gpio/dce120/hw_factory_dce120.c |  14 +-
 .../amd/display/dc/gpio/dce80/hw_factory_dce80.c   |  14 +-
 .../amd/display/dc/gpio/dcn10/hw_factory_dcn10.c   |  12 +-
 .../amd/display/dc/gpio/dcn20/hw_factory_dcn20.c   |  12 +-
 .../display/dc/gpio/diagnostics/hw_factory_diag.c  |   9 +-
 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c    |  74 +-
 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c |  51 +-
 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h |   6 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c       |  26 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.h       |   5 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.h   |  48 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c   |  32 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.h   |   6 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c       |  31 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.h       |   5 +-
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |  11 +-
 drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h    |  11 +-
 .../drm/amd/display/dc/inc/hw/clk_mgr_internal.h   |  12 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h       |   3 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h   |   6 +
 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h        |   2 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h        |   4 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h        |  12 -
 drivers/gpu/drm/amd/display/dc/inc/hw/gpio.h       |  10 +
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h       |  11 +-
 .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h   |   3 +
 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h        |   7 +
 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h        |   5 -
 .../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h |  20 +-
 .../drm/amd/display/dc/inc/hw/timing_generator.h   |  15 +-
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |  40 +-
 drivers/gpu/drm/amd/display/dc/inc/link_hwss.h     |   2 -
 drivers/gpu/drm/amd/display/dc/inc/resource.h      |   3 -
 .../amd/display/dc/irq/dcn20/irq_service_dcn20.c   |  28 +-
 .../display/dc/virtual/virtual_stream_encoder.c    |   5 +
 .../drm/amd/display/include/ddc_service_types.h    |  10 +-
 .../gpu/drm/amd/display/include/gpio_interface.h   |   9 +
 .../gpu/drm/amd/display/include/logger_interface.h |   2 +
 drivers/gpu/drm/amd/display/include/logger_types.h |   7 +
 .../drm/amd/display/modules/color/color_gamma.c    | 224 ++++--
 .../drm/amd/display/modules/color/color_gamma.h    |   1 +
 .../drm/amd/display/modules/freesync/freesync.c    | 303 ++-----
 .../gpu/drm/amd/display/modules/inc/mod_freesync.h |   2 +
 .../drm/amd/display/modules/inc/mod_info_packet.h  |   2 +-
 .../amd/display/modules/info_packet/info_packet.c  |  88 +++
 .../drm/amd/display/modules/power/power_helpers.c  | 121 ++-
 drivers/gpu/drm/amd/include/amd_shared.h           |   1 +
 .../include/asic_reg/mmhub/mmhub_9_4_0_offset.h    |  21 +
 .../include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h   | 222 ++++++
 .../drm/amd/include/asic_reg/mp/mp_12_0_0_offset.h | 336 ++++++++
 .../amd/include/asic_reg/mp/mp_12_0_0_sh_mask.h    | 866 +++++++++++++++++++++
 drivers/gpu/drm/amd/include/kgd_pp_interface.h     |   1 +
 drivers/gpu/drm/amd/include/navi12_ip_offset.h     |   4 +-
 drivers/gpu/drm/amd/powerplay/Makefile             |   2 +-
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |  21 +
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c         |  38 +-
 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c       |  43 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c  |   7 +
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |  12 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c |   3 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c |   6 +-
 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h     |  29 +-
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h          |   9 +
 drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h       |   2 +-
 .../gpu/drm/amd/powerplay/inc/smu11_driver_if.h    |   4 +-
 .../amd/powerplay/inc/smu11_driver_if_arcturus.h   |  17 +-
 .../drm/amd/powerplay/inc/smu11_driver_if_navi10.h |  29 +-
 .../gpu/drm/amd/powerplay/inc/smu12_driver_if.h    | 217 ++++++
 drivers/gpu/drm/amd/powerplay/inc/smu_types.h      |  44 ++
 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h      |  12 +
 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h      |  42 +
 .../gpu/drm/amd/powerplay/inc/smu_v12_0_ppsmc.h    | 106 +++
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c         |  19 +-
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c         | 173 ++++
 drivers/gpu/drm/amd/powerplay/renoir_ppt.h         |  28 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c          | 120 +--
 drivers/gpu/drm/amd/powerplay/smu_v12_0.c          | 350 +++++++++
 drivers/gpu/drm/amd/powerplay/vega20_ppt.c         |  37 +-
 drivers/gpu/drm/radeon/radeon.h                    |   1 -
 drivers/gpu/drm/radeon/radeon_device.c             |  21 +-
 drivers/gpu/drm/radeon/radeon_ttm.c                |   2 +-
 drivers/gpu/drm/scheduler/sched_entity.c           |   4 +-
 include/drm/amd_asic_type.h                        |   1 +
 229 files changed, 8051 insertions(+), 3441 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/athub_v1_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v12_0.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_12_0_0_offset.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_12_0_0_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu12_driver_if.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0_ppsmc.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/renoir_ppt.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/renoir_ppt.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smu_v12_0.c


More information about the dri-devel mailing list