[pull] amdgpu, amdkfd, radeon 5.6 fixes

Alex Deucher alexdeucher at gmail.com
Thu Feb 6 03:54:58 UTC 2020


Hi Dave, Daniel,

A bit bigger than normal, but this is several weeks of fixes.

The following changes since commit d7ca2d19c751b6715e9cb899a6b94f47b3499d02:

  Merge tag 'drm-msm-next-2020-01-14' of https://gitlab.freedesktop.org/drm/msm into drm-next (2020-01-20 14:09:43 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~agd5f/linux tags/amd-drm-next-5.6-2020-02-05

for you to fetch changes up to 58fe03d6dec908a1bec07eea7e94907af5c07eec:

  drm/amd/dm/mst: Ignore payload update failures (2020-02-04 23:30:39 -0500)

----------------------------------------------------------------
amd-drm-next-5.6-2020-02-05:

amdgpu:
- EDC fixes for Arcturus
- GDDR6 memory training fixe
- Fix for reading gfx clockgating registers while in GFXOFF state
- i2c freq fixes
- Misc display fixes
- TLB invalidation fix when using semaphores
- VCN 2.5 instancing fixes
- Switch raven1 gfxoff to a blacklist
- Coreboot workaround for KV/KB
- Root cause dongle fixes for display and revert workaround
- Enable GPU reset for renoir and navi
- Navi overclocking fixes
- Fix up confusing warnings in display clock validation on raven

amdkfd:
- SDMA fix

radeon:
- Misc LUT fixes

----------------------------------------------------------------
Alex Deucher (12):
      drm/amdgpu: attempt to enable gfxoff on more raven1 boards (v2)
      drm/amdgpu: original raven doesn't support full asic reset
      drm/amdgpu: enable GPU reset by default on Navi
      drm/amdgpu: enable GPU reset by default on renoir
      drm/amdgpu/navi10: add mclk to navi10_get_clock_by_type_with_latency
      drm/amdgpu/navi: fix index for OD MCLK
      drm/amdgpu/navi10: add OD_RANGE for navi overclocking
      drm/amdgpu: fetch default VDDC curve voltages (v2)
      drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
      drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
      drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
      drm/amdgpu: update default voltage for boot od table for navi1x

Alex Sierra (1):
      drm/amdgpu: modify packet size for pm4 flush tlbs

Anthony Koo (1):
      drm/amd/display: Refactor to remove diags specific rgam func

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

Bhawanpreet Lakha (1):
      drm/amd/display: Fix HW/SW state mismatch

Brandon Syu (1):
      drm/amd/display: fix rotation_angle to use enum values

Christian König (1):
      drm/amdgpu: add coreboot workaround for KV/KB

Colin Ian King (4):
      drm/amd/amdgpu: fix spelling mistake "to" -> "too"
      drm/amd/display: fix for-loop with incorrectly sized loop counter (v2)
      drm/amd/powerplay: fix spelling mistake "Attemp" -> "Attempt"
      drm/amd/display: fix spelling mistake link_integiry_check -> link_integrity_check

Daniel Vetter (2):
      radeon: insert 10ms sleep in dce5_crtc_load_lut
      radeon: completely remove lut leftovers

Dennis Li (6):
      drm/amdgpu: update mmhub 9.4.1 header files for Acrturus
      drm/amdgpu: enable RAS feature for more mmhub sub-blocks of Acrturus
      drm/amdgpu: refine the security check for RAS functions
      drm/amdgpu: abstract EDC counter clear to a separated function
      drm/amdgpu: add EDC counter registers of gc for Arcturus
      drm/amdgpu: add RAS support for the gfx block of Arcturus

Dor Askayo (1):
      drm/amd/display: do not allocate display_mode_lib unnecessarily

Evan Quan (1):
      drm/amd/powerplay: fix navi10 system intermittent reboot issue V2

Felix Kuehling (2):
      drm/amdgpu: Fix TLB invalidation request when using semaphore
      drm/amdgpu: Use the correct flush_type in flush_gpu_tlb_pasid

Haiyi Zhou (1):
      drm/amd/display: Fixed comment styling

Harry Wentland (2):
      drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero
      Revert "drm/amd/display: Don't skip link training for empty dongle"

Isabel Zhang (1):
      drm/amd/display: changed max_downscale_src_width to 4096.

James Zhu (5):
      drm/amdgpu/vcn: Share vcn_v2_0_dec_ring_test_ring to vcn2.5
      drm/amdgpu/vcn2.5: fix a bug for the 2nd vcn instance (v2)
      drm/amdgpu/vcn: fix vcn2.5 instance issue
      drm/amdgpu/vcn: fix typo error
      drm/amdgpu/vcn: use inst_idx relacing inst

Jerry (Fangzhi) Zuo (1):
      drm/amd/display: Fix DML dummyinteger types mismatch

John Clements (1):
      drm/amdgpu: added support to get mGPU DRAM base

Joseph Greathouse (1):
      drm/amdgpu: Enable DISABLE_BARRIER_WAITCNT for Arcturus

Lewis Huang (2):
      drm/amd/display: Refine i2c frequency calculating sequence
      drm/amd/display: init hw i2c speed

Lyude Paul (1):
      drm/amd/dm/mst: Ignore payload update failures

Matt Coffin (1):
      drm/amdgpu/smu_v11_0: Correct behavior of restoring default tables (v2)

Mikita Lipski (1):
      drm/amd/display: Fix a typo when computing dsc configuration

Nathan Chancellor (1):
      drm/amdgpu: Fix implicit enum conversion in gfx_v9_4_ras_error_inject

Nicholas Kazlauskas (8):
      drm/amd/display: Get fb base and fb offset for DMUB from registers
      drm/amd/display: Fallback to DMCUB when command table is missing
      drm/amd/display: Do DMCUB hw_init before DC
      drm/amd/display: Add hardware reset interface for DMUB service
      drm/amd/display: Call ATOM_INIT instead of ATOM_ENABLE for DMCUB
      drm/amd/display: Reset inbox rptr/wptr when resetting DMCUB
      drm/amd/display: Check hw_init state when determining if DMCUB is initialized
      drm/amd/display: Only enable cursor on pipes that need it

Nirmoy Das (4):
      drm/amdgpu:  remove unnecessary conversion to bool
      drm/amdgpu: individualize fence allocation per entity
      drm/amdgpu: fix doc by clarifying sched_list definition
      drm/amdgpu: allocate entities on demand

Paul Hsieh (1):
      drm/amd/display: check pipe_ctx is split pipe or not

Roman Li (1):
      drm/amd/display: Fix update type for multiple planes

Stephen Rothwell (1):
      amdgpu: using vmalloc requires includeing vmalloc.h

Sung Lee (1):
      drm/amd/display: Do not send training pattern if VS Different

Tianci.Yin (2):
      drm/amdgpu: fix VRAM partially encroached issue in GDDR6 memory training(V2)
      Revert "drm/amdgpu: fix modprobe failure of the secondary GPU when GDDR6 training enabled(V5)"

Wenjing Liu (4):
      drm/amd/display: update MSA and VSC SDP on video test pattern request
      drm/amd/display: Add debug option to disable DSC support
      drm/amd/display: support VSC SDP update on video test pattern request
      drm/amd/display: use odm combine for YCbCr420 timing with h_active greater than 4096

Yong Zhao (1):
      drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode

Zhan Liu (1):
      drm/amd/display: Move drm_dp_mst_atomic_check() to the front of dc_validate_global_state()

chen gong (3):
      drm/amdgpu: provide a generic function interface for reading/writing register by KIQ
      drm/amdgpu: add kiq version interface for RREG32/WREG32
      drm/amdgpu: read gfx register using RREG32_KIQ macro

xinhui pan (1):
      drm/amdgpu: initialize bo_va_list when add gws to process

zhengbin (1):
      drm/amd/powerplay: use true, false for bool variable in smu7_hwmgr.c

 drivers/gpu/drm/amd/amdgpu/Makefile                |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            | 229 ++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h            |   7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_df.h             |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c            |  96 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h            |   5 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h            |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |  20 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h            |  26 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c           |  92 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h           |   2 -
 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/athub_v2_0.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/df_v3_6.c               |  59 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c             |  11 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |   5 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              | 220 +++--
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c              | 978 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.h              |  35 +
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c             |  39 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c              |   3 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c              |  15 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c            | 705 ++++++++++++++-
 drivers/gpu/drm/amd/amdgpu/navi10_ih.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/nv.c                    |   8 +-
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c             |  37 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |   4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c             |   4 +-
 drivers/gpu/drm/amd/amdgpu/si_dma.c                |   2 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |  32 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c              |   4 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h              |   1 +
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c              | 105 +--
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c             |   2 +-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  10 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  82 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c |  19 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |  13 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c    |   2 +-
 .../gpu/drm/amd/display/dc/bios/command_table2.c   |  78 +-
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c   |  34 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  17 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |  30 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   |  42 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |   3 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c    |  73 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h    |   1 -
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |  30 +
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c  |  12 +-
 .../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c  |   2 +-
 .../amd/display/dc/dml/dcn20/display_mode_vba_20.c |  19 +-
 .../display/dc/dml/dcn20/display_mode_vba_20v2.c   |  24 +-
 .../amd/display/dc/dml/dcn21/display_mode_vba_21.c |  24 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.h  |   4 +-
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c        |   3 +-
 drivers/gpu/drm/amd/display/dmub/inc/dmub_srv.h    |  17 +
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c  |  25 +-
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h  |   8 +-
 drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c    |  19 +
 .../drm/amd/display/modules/color/color_gamma.c    | 307 +++----
 .../drm/amd/display/modules/color/color_gamma.h    |   4 -
 .../drm/amd/display/modules/freesync/freesync.c    |   2 +-
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h    |   2 +-
 .../drm/amd/display/modules/hdcp/hdcp1_execution.c |   8 +-
 .../amd/display/modules/hdcp/hdcp1_transition.c    |   4 +-
 .../drm/amd/include/asic_reg/df/df_3_6_offset.h    |   3 +
 .../drm/amd/include/asic_reg/df/df_3_6_sh_mask.h   |   8 +
 .../drm/amd/include/asic_reg/gc/gc_9_0_sh_mask.h   |   6 +-
 .../drm/amd/include/asic_reg/gc/gc_9_4_1_offset.h  | 264 ++++++
 .../drm/amd/include/asic_reg/gc/gc_9_4_1_sh_mask.h | 748 ++++++++++++++++
 .../include/asic_reg/mmhub/mmhub_9_4_1_sh_mask.h   | 128 +++
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c         |  18 +
 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c  |  23 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |   6 +-
 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h     |   2 +
 drivers/gpu/drm/amd/powerplay/inc/smu_types.h      |   2 +
 .../gpu/drm/amd/powerplay/inc/smu_v11_0_ppsmc.h    |   5 +-
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c         | 187 +++-
 drivers/gpu/drm/amd/powerplay/smu_internal.h       |   3 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c          |   6 +
 .../gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c   |  12 +-
 .../gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c   |  12 +-
 drivers/gpu/drm/amd/powerplay/vega20_ppt.c         |  28 +-
 drivers/gpu/drm/radeon/radeon_display.c            |   9 +-
 drivers/gpu/drm/radeon/radeon_mode.h               |   1 -
 drivers/gpu/drm/scheduler/sched_entity.c           |   2 +-
 include/drm/gpu_scheduler.h                        |   5 +-
 102 files changed, 4337 insertions(+), 869 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gc/gc_9_4_1_offset.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gc/gc_9_4_1_sh_mask.h


More information about the amd-gfx mailing list