[pull] amdgpu, amdkfd, radeon drm-next-5.17

Alex Deucher alexander.deucher at amd.com
Thu Dec 16 20:27:31 UTC 2021


Hi Dave, Daniel,

More updates for 5.17.

The following changes since commit 3c021931023a30316db415044531b116b85e6ebd:

  drm/amdgpu: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi (2021-12-07 13:13:07 -0500)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.17-2021-12-16

for you to fetch changes up to a342655865b2f14d1fbf346356d3b3360e63e872:

  drm/radeon: Fix syntax errors in comments (2021-12-14 16:11:02 -0500)

----------------------------------------------------------------
amdgpu:
- Add some display debugfs entries
- RAS fixes
- SR-IOV fixes
- W=1 fixes
- Documentation fixes
- IH timestamp fix
- Misc power fixes
- IP discovery fixes
- Large driver documentation updates
- Multi-GPU memory use reductions
- Misc display fixes and cleanups
- Add new SMU debug option

amdkfd:
- SVM fixes

radeon:
- Fix typo in comment

----------------------------------------------------------------
Anthony Koo (1):
      drm/amd/display: [FW Promotion] Release 0.0.97

Aric Cyr (1):
      drm/amd/display: 3.2.166

Aurabindo Pillai (1):
      drm/amd/display: Add feature flags to disable LTTPR

Eric Bernstein (1):
      drm/amd/display: ODM + MPO window on only one half of ODM

Evan Quan (2):
      drm/amdgpu: move smu_debug_mask to a more proper place
      drm/amdgpu: correct the wrong cached state for GMC on PICASSO

Fangzhi Zuo (1):
      drm/amd/display: Add Debugfs Entry to Force in SST Sequence

Felix Kuehling (4):
      drm/amdkfd: Fix error handling in svm_range_add
      drm/amdkfd: Fix svm_range_is_same_attrs
      drm/amdkfd: Don't split unchanged SVM ranges
      drm/amdkfd: Make KFD support on Hawaii experimental

Graham Sider (1):
      drm/amdkfd: add Navi2x to GWS init conditions

Guchun Chen (1):
      drm/amdgpu: use adev_to_drm to get drm_device pointer

Hawking Zhang (6):
      drm/amdgpu: add helper to load ip_discovery binary from file
      drm/amdgpu: rename discovery_read_binary helper
      drm/amdgpu: add helper to verify ip discovery binary signature
      drm/amdgpu: read and authenticate ip discovery binary
      drm/amdgpu: don't override default ECO_BITs setting
      drm/amdgpu: check df_funcs and its callback pointers

Isabella Basso (10):
      drm/amd: Mark IP_BASE definition as __maybe_unused
      drm/amd: fix improper docstring syntax
      drm/amdgpu: fix function scopes
      drm/amdkfd: fix function scopes
      drm/amd: append missing includes
      drm/amdgpu: fix location of prototype for amdgpu_kms_compat_ioctl
      drm/amdgpu: fix amdgpu_ras_mca_query_error_status scope
      drm/amdgpu: remove unnecessary variables
      drm/amdgpu: re-format file header comments
      drm/amd/display: fix function scopes

Jingwen Chen (2):
      drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV
      drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV

Jonathan Kim (1):
      drm/amdgpu: disable default navi2x co-op kernel support

Lang Yu (5):
      drm/amdgpu: remove power on/off SDMA in SMU hw_init/fini()
      drm/amdgpu: only hw fini SMU fisrt for ASICs need that
      drm/amdgpu: introduce a kind of halt state for amdgpu device
      drm/amdgpu: add support for SMU debug option
      drm/amd/pm: fix a potential gpu_metrics_table memory leak

Le Ma (1):
      drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE

Leslie Shi (2):
      drm/amdgpu: add modifiers in amdgpu_vkms_plane_init()
      drm/amdgpu: fix incorrect VCN revision in SRIOV

Lijo Lazar (1):
      drm/amd/pm: Skip power state allocation

Mario Limonciello (4):
      drm/amd: add some extra checks that is_dig_enabled is defined
      drm/amd: move variable to local scope
      drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC
      drivers/amd/pm: drop statement to print FW version for smu_v13

Martin Leung (1):
      drm/amd/display: implement dc_mode_memclk

Michael Strauss (1):
      drm/amd/display: Force det buf size to 192KB with 3+ streams and upscaling

Michel Dänzer (2):
      drm/amd/display: Reduce stack size for dml31_ModeSupportAndSystemConfigurationFull
      drm/amd/display: Reduce stack size for dml31 UseMinimumDCFCLK

Mikita Lipski (1):
      drm/amd/display: parse and check PSR SU caps

Nicholas Kazlauskas (2):
      drm/amd/display: Set exit_optimized_pwr_state for DCN31
      drm/amd/display: Reset DMCUB before HW init

Philip Yang (3):
      drm/amdgpu: Handle fault with same timestamp
      drm/amdgpu: Detect if amdgpu in IOMMU direct map mode
      drm/amdgpu: Reduce SG bo memory usage for mGPUs

Rodrigo Siqueira (6):
      Documentation/gpu: Reorganize DC documentation
      Documentation/gpu: Document amdgpu_dm_visual_confirm debugfs entry
      Documentation/gpu: Document pipe split visual confirmation
      Documentation/gpu: How to collect DTN log
      Documentation/gpu: Add basic overview of DC pipeline
      Documentation/gpu: Add amdgpu and dc glossary

Solomon Chiu (1):
      drm/amd/display: Add src/ext ID info for dummy service

Tao Zhou (1):
      drm/amdgpu: enable RAS poison flag when GPU is connected to CPU

Victor Skvortsov (1):
      drm/amdgpu: SRIOV flr_work should use down_write

Wayne Lin (1):
      drm/amd/display: Add debugfs entry for ILR

Xiang wangx (1):
      drm/radeon: Fix syntax errors in comments

Yann Dirson (5):
      Documentation/gpu: split amdgpu/index for readability
      Documentation/gpu: include description of AMDGPU hardware structure
      Documentation/gpu: include description of some of the GC microcontrollers
      amdgpu: fix some kernel-doc markup
      amdgpu: fix some comment typos

Zhigang Luo (4):
      drm/amdgpu: skip reset other device in the same hive if it's SRIOV VF
      drm/amdgpu: added PSP XGMI initialization for SRIOV VF during recover
      drm/amdgpu: recover XGMI topology for SRIOV VF after reset
      drm/amdgpu: extended waiting SRIOV VF reset completion timeout to 10s

chiminghao (1):
      drm:amdgpu:remove unneeded variable

 Documentation/gpu/amdgpu-dc.rst                    |   74 --
 Documentation/gpu/amdgpu.rst                       |  324 ------
 Documentation/gpu/amdgpu/amdgpu-glossary.rst       |   87 ++
 .../gpu/amdgpu/display/config_example.svg          |  414 +++++++
 Documentation/gpu/amdgpu/display/dc-debug.rst      |   77 ++
 Documentation/gpu/amdgpu/display/dc-glossary.rst   |  237 +++++
 .../gpu/amdgpu/display/dc_pipeline_overview.svg    | 1125 ++++++++++++++++++++
 Documentation/gpu/amdgpu/display/dcn-overview.rst  |  171 +++
 .../gpu/amdgpu/display/display-manager.rst         |   42 +
 .../gpu/amdgpu/display/global_sync_vblank.svg      |  485 +++++++++
 Documentation/gpu/amdgpu/display/index.rst         |   31 +
 Documentation/gpu/amdgpu/driver-core.rst           |  182 ++++
 Documentation/gpu/amdgpu/driver-misc.rst           |  112 ++
 Documentation/gpu/amdgpu/index.rst                 |   17 +
 Documentation/gpu/amdgpu/module-parameters.rst     |    7 +
 Documentation/gpu/amdgpu/ras.rst                   |   62 ++
 Documentation/gpu/amdgpu/thermal.rst               |   65 ++
 Documentation/gpu/amdgpu/xgmi.rst                  |    5 +
 Documentation/gpu/drivers.rst                      |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |    6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c   |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c   |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c        |    3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  139 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c      |  116 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h      |    2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h            |    3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c             |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c          |    7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c            |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c            |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c            |   19 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c    |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |   16 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |   18 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c            |    1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c            |   15 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h            |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c           |    7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c           |    5 +
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c           |    1 -
 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c           |    1 -
 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c           |    1 -
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c             |    4 +
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c              |   29 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |    9 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c            |    1 -
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c            |    1 -
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c            |    1 -
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c            |    2 -
 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c              |    5 +-
 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h              |    2 +-
 drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c              |    5 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c             |    2 -
 drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c             |    2 -
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |   11 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |    6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c           |    4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c |    4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |    5 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c               |  231 ++--
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   32 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h  |    4 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_color.c    |    4 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |  164 +++
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c  |  101 +-
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c   |    4 +-
 .../drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c |    2 +-
 .../dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c       |    2 +
 .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c   |    2 +-
 .../amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c |   43 +-
 .../drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c  |   26 +-
 .../dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c        |    6 +-
 .../amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c   |   44 +-
 .../drm/amd/display/dc/clk_mgr/dcn301/dcn301_smu.c |    6 +-
 .../drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c |   20 +-
 .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c   |    7 +-
 .../drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c   |    6 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |   92 ++
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |    3 +-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  |   81 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |    5 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |    9 +
 drivers/gpu/drm/amd/display/dc/dc_types.h          |    1 +
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |   25 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c   |    8 -
 .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c  |   97 --
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |   29 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c   |   30 -
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c  |   20 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c  |   18 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c   |   14 -
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c   |    4 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c  |   21 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h  |    1 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |   16 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.h |    4 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c  |    2 +
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c   |    9 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c  |   57 +-
 .../gpu/drm/amd/display/dc/dcn201/dcn201_dccg.c    |    3 +-
 .../gpu/drm/amd/display/dc/dcn201/dcn201_hubp.c    |    7 +-
 .../amd/display/dc/dcn201/dcn201_link_encoder.c    |    6 +-
 .../drm/amd/display/dc/dcn201/dcn201_resource.c    |   16 +-
 .../gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c    |    2 +-
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c  |   15 +-
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c  |    2 +
 .../drm/amd/display/dc/dcn21/dcn21_link_encoder.c  |    9 +-
 .../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c  |   31 +-
 .../display/dc/dcn30/dcn30_dio_stream_encoder.c    |   18 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c   |   36 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c  |    1 +
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c |   11 +
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.h |    5 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c  |    3 +
 .../gpu/drm/amd/display/dc/dcn30/dcn30_mmhubbub.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c   |    2 +-
 .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c  |   23 +-
 .../gpu/drm/amd/display/dc/dcn301/dcn301_init.c    |    2 +
 .../drm/amd/display/dc/dcn301/dcn301_panel_cntl.c  |   10 +-
 .../drm/amd/display/dc/dcn301/dcn301_resource.c    |   45 +-
 .../gpu/drm/amd/display/dc/dcn302/dcn302_init.c    |    2 +
 .../gpu/drm/amd/display/dc/dcn303/dcn303_init.c    |    2 +
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c  |    2 +-
 .../amd/display/dc/dcn31/dcn31_dio_link_encoder.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c  |    3 +
 .../drm/amd/display/dc/dcn31/dcn31_panel_cntl.c    |   10 +-
 .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c  |   10 +-
 .../display/dc/dml/dcn21/display_rq_dlg_calc_21.c  |    8 -
 .../amd/display/dc/dml/dcn31/display_mode_vba_31.c |  489 +++------
 drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h    |    7 +
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h       |    1 +
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |    1 +
 .../amd/display/dc/irq/dce110/irq_service_dce110.c |   10 +-
 .../amd/display/dc/irq/dcn10/irq_service_dcn10.c   |    7 +-
 .../amd/display/dc/irq/dcn201/irq_service_dcn201.c |    7 +-
 .../amd/display/dc/irq/dcn21/irq_service_dcn21.c   |    7 +-
 .../amd/display/dc/irq/dcn31/irq_service_dcn31.c   |    7 +-
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h    |    4 +-
 drivers/gpu/drm/amd/include/amd_shared.h           |    2 +
 .../gpu/drm/amd/include/cyan_skillfish_ip_offset.h |   10 +-
 drivers/gpu/drm/amd/include/yellow_carp_offset.h   |    4 +-
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h            |    8 +
 drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h            |    1 +
 drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c   |    7 +-
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c          |    5 -
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c  |   10 -
 drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c     |    3 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c |   10 -
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c     |    6 +-
 drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c             |   30 +-
 drivers/gpu/drm/radeon/radeon_vce.c                |    2 +-
 include/uapi/drm/amdgpu_drm.h                      |    2 +-
 156 files changed, 4569 insertions(+), 1622 deletions(-)
 delete mode 100644 Documentation/gpu/amdgpu-dc.rst
 delete mode 100644 Documentation/gpu/amdgpu.rst
 create mode 100644 Documentation/gpu/amdgpu/amdgpu-glossary.rst
 create mode 100644 Documentation/gpu/amdgpu/display/config_example.svg
 create mode 100644 Documentation/gpu/amdgpu/display/dc-debug.rst
 create mode 100644 Documentation/gpu/amdgpu/display/dc-glossary.rst
 create mode 100644 Documentation/gpu/amdgpu/display/dc_pipeline_overview.svg
 create mode 100644 Documentation/gpu/amdgpu/display/dcn-overview.rst
 create mode 100644 Documentation/gpu/amdgpu/display/display-manager.rst
 create mode 100644 Documentation/gpu/amdgpu/display/global_sync_vblank.svg
 create mode 100644 Documentation/gpu/amdgpu/display/index.rst
 create mode 100644 Documentation/gpu/amdgpu/driver-core.rst
 create mode 100644 Documentation/gpu/amdgpu/driver-misc.rst
 create mode 100644 Documentation/gpu/amdgpu/index.rst
 create mode 100644 Documentation/gpu/amdgpu/module-parameters.rst
 create mode 100644 Documentation/gpu/amdgpu/ras.rst
 create mode 100644 Documentation/gpu/amdgpu/thermal.rst
 create mode 100644 Documentation/gpu/amdgpu/xgmi.rst


More information about the amd-gfx mailing list