[pull] amdgpu, amdkfd, radeon, drm, scheduler, UAPI drm-next-6.5

Alex Deucher alexander.deucher at amd.com
Fri Jun 16 16:35:48 UTC 2023


Hi Dave, Daniel,

Last few odds and ends for 6.5.  Mostly bug fixes.  Was waiting on some
GPU scheduler changes in drm-misc for a few of the GPU reset fixes in amdgpu.

The following changes since commit 901bdf5ea1a836400ee69aa32b04e9c209271ec7:

  Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2023-06-15 14:11:22 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.5-2023-06-16

for you to fetch changes up to 72f1de49ffb90b29748284f27f1d6b829ab1de95:

  drm/dp_mst: Clear MSG_RDY flag before sending new message (2023-06-15 17:55:41 -0400)

----------------------------------------------------------------
amd-drm-next-6.5-2023-06-16:

amdgpu:
- Misc display fixes
- W=1 fixes
- Improve scheduler naming
- DCN 3.1.4 fixes
- kdoc fixes
- Enable W=1
- VCN 4.0 fix
- xgmi fixes
- TOPDOWN fix for large BAR systems
- eDP fix
- PSR fixes
- SubVP fixes
- Freesync fix
- DPIA fix
- SMU 13.0.5 fixes
- vblflash fix
- RAS fixes
- SDMA 4 fix
- BO locking fix
- BO backing store fix
- NBIO 7.9 fixes
- GC 9.4.3 fixes
- GPU reset recovery fixes
- HMM fix

amdkfd:
- Fix NULL check
- Trap fixes
- Queue count fix
- Add event age tracking

radeon:
- fbdev client fix

scheduler:
- Avoid an infinite loop

UAPI:
- Add KFD event age tracking:
  Proposed ROCT-Thunk-Interface:
  https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/commit/efdbf6cfbc026bd68ac3c35d00dacf84370eb81e
  https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/commit/1820ae0a2db85b6f584611dc0cde1a00e7c22915
  Proposed ROCR-Runtime:
  https://github.com/RadeonOpenCompute/ROCR-Runtime/compare/master...zhums:ROCR-Runtime:new_event_wait_review
  https://github.com/RadeonOpenCompute/ROCR-Runtime/commit/e1f5bdb88eb882ac798aeca2c00ea3fbb2dba459
  https://github.com/RadeonOpenCompute/ROCR-Runtime/commit/7d26afd14107b5c2a754c1a3f415d89f3aabb503

drm:
- DP MST fix

----------------------------------------------------------------
Alex Deucher (4):
      Revert "drm/amd/display: fix dpms_off issue when disabling bios mode"
      drm/amd/display: don't free stolen console memory during suspend
      drm/amdgpu/sdma4: set align mask to 255
      drm/amdgpu: mark GC 9.4.3 experimental for now

Alvin Lee (4):
      drm/amd/display: SubVP high refresh only if all displays >= 120hz
      drm/amd/display: Re-enable SubVP high refresh
      drm/amd/display: Block SubVP + DRR if the DRR is PSR capable
      drm/amd/display: Include CSC updates in new fast update path

Aric Cyr (2):
      drm/amd/display: Promote DAL to 3.2.238
      drm/amd/display: 3.2.239

Artem Grishin (1):
      drm/amd/display: Bug fix in dcn315_populate_dml_pipes_from_context

Arunpravin Paneer Selvam (1):
      Revert "drm/amdgpu: remove TOPDOWN flags when allocating VRAM in large bar system"

Austin Zheng (2):
      drm/amd/display: Add DP2 Metrics
      drm/amd/display: Limit Minimum FreeSync Refresh Rate

Candice Li (3):
      drm/amd/pm: Align eccinfo table structure with smu v13_0_0 interface
      drm/amdgpu: Update total channel number for umc v8_10
      drm/amdgpu: Add channel_dis_num to ras init flags

Christian König (8):
      drm/amdgpu: make sure BOs are locked in amdgpu_vm_get_memory
      drm/amdgpu: make sure that BOs have a backing store
      drm/amdgpu: add amdgpu_error_* debugfs file
      drm/amdgpu: mark force completed fences with -ECANCELED
      drm/amdgpu: mark soft recovered fences with -ENODATA
      drm/amdgpu: abort submissions during prepare on error
      drm/amdgpu: reset VM when an error is detected
      drm/amdgpu: add VM generation token

Daniel Miess (2):
      drm/amd/display: Enable dcn314 DPP RCO
      drm/amd/display: Re-enable DPP/HUBP Power Gating

Dmytro Laktyushkin (1):
      drm/amd/display: fix pixel rate update sequence

Fangzhi Zuo (1):
      drm/amd/display: Add Error Code for Dml Validation Failure

Hamza Mahfooz (1):
      drm/amd/amdgpu: enable W=1 for amdgpu

Hersen Wu (2):
      drm/amd/display: edp do not add non-edid timings
      drm/amd/display: add debugfs for allow_edp_hotplug_detection

James Zhu (5):
      drm/amdkfd: add event age tracking
      drm/amdkfd: add event_age tracking when receiving interrupt
      drm/amdkfd: set activated flag true when event age unmatchs
      drm/amdkfd: update user space last_event_age
      drm/amdkfd: bump kfd ioctl minor version for event age availability

Jonathan Kim (2):
      drm/amdkfd: fix null queue check on debug setting exceptions
      drm/amdkfd: decrement queue count on mes queue destroy

Lee Jones (1):
      drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move SYNAPTICS_DEVICE_ID into CONFIG_DRM_AMD_DC_DCN ifdef

Lijo Lazar (4):
      drm/amdgpu: Release SDMAv4.4.2 ecc irq properly
      drm/amdgpu: Change nbio v7.9 xcp status definition
      drm/amdgpu: Use PSP FW API for partition switch
      drm/amdgpu: Remove unused NBIO interface

Likun Gao (1):
      drm/amdgpu: add wait_for helper for spirom update

Luben Tuikov (2):
      drm/amdgpu: Report ras_num_recs in debugfs
      drm/amdgpu: Fix usage of UMC fill record in RAS

Ma Jun (1):
      drm/amdgpu: Print client id for the unregistered interrupt resource

Mukul Joshi (2):
      drm/amdgpu: Rename DRM schedulers in amdgpu TTM
      drm/amdkfd: Remove DUMMY_VRAM_SIZE

Nicholas Kazlauskas (1):
      drm/amd/display: Skip DPP DTO update if root clock is gated

Peichen Huang (1):
      drm/amd/display: limit DPIA link rate to HBR3

Philip Yang (2):
      drm/amdgpu: Enable translate further for GC v9.4.3
      drm/amdgpu: Increase hmm range get pages timeout

Ruili Ji (1):
      drm/amdkfd: To enable traps for GC_11_0_4 and up

Saaem Rizvi (1):
      drm/amd/display: Do not disable phantom pipes in driver

Samson Tam (1):
      Revert "drm/amd/display: reallocate DET for dual displays with high pixel rate ratio"

Shiwu Zhang (1):
      drm/amdgpu: expose num_hops and num_links xgmi info through dev attr

Sonny Jiang (1):
      drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1

Srinivasan Shanmugam (10):
      drm/amdgpu: Fix kdoc warning
      drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
      drm/amdgpu: Add missing function parameter 'optc' & 'enable' to kdoc in optc3_set_timing_double_buffer()
      drm/amd/display: Correct kdoc formats in dcn10_opp.c
      drm/amd/display: Correct and remove excess function parameter names in kdoc
      drm/amd/display: Provide function name for 'optc32_enable_crtc()'
      drm/amd/display: Correct kdoc formats in dcn32_resource_helpers.c
      drm/amd/display: Clean up dcn10_optc.c kdoc
      drm/radeon: Fix missing prototypes in radeon_atpx_handler.c
      drm/amd/display: Convert to kdoc formats in dc/core/dc.c

Stanley.Yang (2):
      drm/amdgpu: Optimize checking ras supported
      drm/amdgpu: Add checking mc_vram_size

Thomas Zimmermann (1):
      drm/radeon: Disable outputs when releasing fbdev client

Tim Huang (3):
      drm/amd/pm: fix vclk setting failed for SMU v13.0.5
      drm/amd/pm: enable vclk and dclk Pstates for SMU v13.0.5
      drm/amd/pm: enable more Pstates profile levels for SMU v13.0.5

Tom Chung (2):
      drm/amd/display: fix the system hang while disable PSR
      drm/amd/display: Fix disbling PSR slow response issue

Wayne Lin (1):
      drm/dp_mst: Clear MSG_RDY flag before sending new message

ZhenGuo Yin (2):
      drm/amdgpu: add entity error check in amdgpu_ctx_get_entity
      drm/scheduler: avoid infinite loop if entity's dependency is a scheduled error fence

 drivers/gpu/drm/amd/amdgpu/Makefile                |  13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c      |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c          |  25 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h            |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c            |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |  17 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.h            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h           |   2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |  23 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h            |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c     |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c           |  23 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |  18 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h            |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c            |  34 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             | 176 ++++++++++++++------
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c           |  46 ++++++
 .../gpu/drm/amd/amdgpu/aqua_vanjaram_reg_init.c    |   3 -
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c            |  18 +--
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c             |   2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c              |   1 +
 drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c             |  18 +--
 drivers/gpu/drm/amd/amdgpu/psp_v13_0.c             |   9 +-
 drivers/gpu/drm/amd/amdgpu/psp_v13_0.h             |   2 +
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |   4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c           |  20 ++-
 drivers/gpu/drm/amd/amdgpu/ta_ras_if.h             |   1 +
 drivers/gpu/drm/amd/amdgpu/umc_v8_10.h             |   3 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c              |   6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |   5 -
 drivers/gpu/drm/amd/amdkfd/kfd_debug.c             |   2 +-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |   6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |  46 ++++--
 drivers/gpu/drm/amd/amdkfd/kfd_events.h            |   1 +
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c           |   2 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  65 +++++---
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |  32 ++++
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |   6 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  36 ++---
 .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |  70 ++++++++
 drivers/gpu/drm/amd/display/dc/dc.h                |   9 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |   2 +-
 drivers/gpu/drm/amd/display/dc/dc_types.h          |   1 +
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c      |   2 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c   |  20 ++-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c  |  57 ++++---
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |  11 --
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c  |   3 +
 .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c  |   1 +
 .../drm/amd/display/dc/dcn302/dcn302_resource.c    |   1 +
 .../drm/amd/display/dc/dcn303/dcn303_resource.c    |   1 +
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c  |   8 +
 .../gpu/drm/amd/display/dc/dcn314/dcn314_dccg.c    |   5 +
 .../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c   |   9 +-
 .../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h   |   2 +-
 .../drm/amd/display/dc/dcn314/dcn314_resource.c    |  27 +++-
 .../drm/amd/display/dc/dcn315/dcn315_resource.c    |   1 +
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c |  11 +-
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.h |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c  |   7 +-
 .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.c  |   3 +-
 .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.h  |   4 +
 .../amd/display/dc/dcn32/dcn32_resource_helpers.c  | 147 ++++++++++++-----
 .../drm/amd/display/dc/dcn321/dcn321_resource.c    |   3 +-
 .../display/dc/dml/dcn314/display_mode_vba_314.c   |  59 +++++++
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   | 178 +++++++++++++--------
 .../drm/amd/display/dc/dml/display_mode_enums.h    |   8 +
 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h       |   1 +
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |  32 ++++
 .../drm/amd/display/dc/inc/hw_sequencer_private.h  |   2 +-
 .../gpu/drm/amd/display/dc/link/link_detection.c   |   5 +
 .../drm/amd/display/modules/freesync/freesync.c    |  11 +-
 .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c    |  18 ++-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   |   3 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c   |  80 ++++++++-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.h   |   2 +-
 drivers/gpu/drm/display/drm_dp_mst_topology.c      |  54 ++++++-
 drivers/gpu/drm/i915/display/intel_dp.c            |   7 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c            |  12 +-
 drivers/gpu/drm/radeon/radeon_acpi.h               |   9 ++
 drivers/gpu/drm/radeon/radeon_atpx_handler.c       |   2 +-
 drivers/gpu/drm/radeon/radeon_fbdev.c              |   1 +
 drivers/gpu/drm/scheduler/sched_entity.c           |   2 +-
 include/drm/display/drm_dp_mst_helper.h            |   7 +-
 include/uapi/linux/kfd_ioctl.h                     |  13 +-
 93 files changed, 1222 insertions(+), 431 deletions(-)


More information about the dri-devel mailing list