[pull] amdgpu, amdkfd drm-next-5.16

Alex Deucher alexander.deucher at amd.com
Fri Oct 29 18:43:38 UTC 2021


Hi Dave, Daniel,

Fixes for 5.16.

The following changes since commit 31fa8cbce4664946a1688898410fee41ad05364d:

  drm: Add R10 and R12 FourCC (2021-10-28 17:20:45 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.16-2021-10-29

for you to fetch changes up to 403475be6d8b122c3e6b8a47e075926d7299e5ef:

  drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits (2021-10-28 14:27:00 -0400)

----------------------------------------------------------------
amd-drm-next-5.16-2021-10-29:

amdgpu:
- RAS fixes
- Fix a potential memory leak in device tear down
- Add a stutter mode quirk
- Misc display fixes
- Further display FP refactoring
- Display USB4 fixes
- Display DP2.0 fixes
- DCN 3.1 fixes
- Display 8 ch audio fix
- Fix DMA mask regression for SI parts
- Aldebaran fixes

amdkfd:
- userptr fix
- BO lifetime fix
- Misc code cleanup

UAPI:
- Minor header cleanup (no functional change)

----------------------------------------------------------------
Ahmad Othman (2):
      drm/amd/display: Add support for USB4 on C20 PHY for DCN3.1
      drm/amd/display: fix a crash on USB4 over C20 PHY

Alex Deucher (6):
      drm/amdgpu/display: add quirk handling for stutter mode
      drm/amdgpu/pm: look up current_level for asics without pm callback
      drm/amdgpu/UAPI: rearrange header to better align related items
      drm/amdgpu/discovery: add UVD/VCN IP instance info for soc15 parts
      drm/amdgpu/discovery: add SDMA IP instance info for soc15 parts
      drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits

Anson Jacob (2):
      drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
      drm/amd/display: Remove unused macros

Anthony Koo (2):
      drm/amd/display: [FW Promotion] Release 0.0.89
      drm/amd/display: [FW Promotion] Release 0.0.90

Aric Cyr (4):
      drm/amd/display: Handle I2C-over-AUX write channel status update
      drm/amd/display: 3.2.158
      drm/amd/display: Fix 3DLUT skipped programming
      drm/amd/display: 3.2.159

Candice Li (1):
      drm/amdgpu: Update TA version output in driver

Dmytro Laktyushkin (3):
      drm/amd/display: clean up dcn31 revision check
      drm/amd/display: restyle dcn31 resource header inline with other asics
      drm/amd/display: allow windowed mpo + odm

George Shen (2):
      drm/amd/display: Implement fixed DP drive settings
      drm/amd/display: Add comment for preferred_training_settings

Guo, Bing (2):
      drm/amd/display: Get ceiling for v_total calc
      drm/amd/display: set Layout properly for 8ch audio at timing validation

Hansen (1):
      drm/amd/display: Set phy_mux_sel bit in dmub scratch register

Jimmy Kizito (1):
      drm/amd/display: Add workaround flag for EDID read on certain docks

Jude Shih (2):
      drm/amd/display: Fix USB4 hot plug crash issue
      drm/amd/display: Enable dpia in dmub only for DCN31 B0

Kent Russell (2):
      drm/amdgpu: Warn when bad pages approaches 90% threshold
      drm/amdgpu: Add kernel parameter support for ignoring bad page threshold

Lang Yu (4):
      drm/amdkfd: Separate pinned BOs destruction from general routine
      drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
      drm/amdkfd: Add an optional argument into update queue operation(v2)
      drm/amdkfd: Remove cu mask from struct queue_properties(v2)

Lewis Huang (1):
      drm/amd/display: Align bw context with hw config when system resume

Martin Leung (1):
      drm/amd/display: Manually adjust strobe for DCN303

Meenakshikumar Somasundaram (3):
      drm/amd/display: FEC configuration for dpia links
      drm/amd/display: FEC configuration for dpia links in MST mode
      drm/amd/display: MST support for DPIA

Michael Strauss (3):
      drm/amd/display: Set i2c memory to light sleep during hw init
      drm/amd/display: Defer GAMCOR and DSCL power down sequence to vupdate
      drm/amd/display: Fallback to clocks which meet requested voltage on DCN31

Nicholas Kazlauskas (1):
      drm/amd/display: Fix deadlock when falling back to v2 from v3

Patrik Jakobsson (1):
      drm/amdgpu: Fix even more out of bound writes from debugfs

Philip Yang (1):
      drm/amdkfd: restore userptr ignore bad address error

Qingqing Zhuo (2):
      drm/amd/display: move FPU associated DSC code to DML folder
      drm/amd/display: move FPU associated DCN301 code to DML folder

Robin Chen (1):
      drm/amd/display: dc_link_set_psr_allow_active refactoring

Tao Zhou (2):
      drm/amdgpu: skip GPRs init for some CU settings on ALDEBARAN
      drm/amdgpu: remove GPRs init for ALDEBARAN in gpu reset (v3)

Wenjing Liu (5):
      drm/amd/display: adopt DP2.0 LT SCR revision 8
      drm/amd/display: implement decide lane settings
      drm/amd/display: decouple hw_lane_settings from dpcd_lane_settings
      drm/amd/display: add two lane settings training options
      drm/amd/display: fix link training regression for 1 or 2 lane

 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |  37 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c      |  17 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c            |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c     |  22 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c          |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c           |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c            |   5 +
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c              |   4 +-
 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c             |   6 +-
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c             |   8 +-
 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c             |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |  62 ++-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |   5 +-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |   1 -
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h       |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  32 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c   |  19 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c    |  19 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |  35 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  26 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           | 109 +++--
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |  24 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  72 ++-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |  18 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c    |   2 +
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c  |  10 +-
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |   2 +
 drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c   |  16 +-
 .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c   |  13 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  71 ++-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      | 146 +++++-
 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c  |  15 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   | 498 +++++++++------------
 drivers/gpu/drm/amd/display/dc/core/dc_link_dpia.c |  57 ++-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  |  14 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |  29 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |   5 -
 drivers/gpu/drm/amd/display/dc/dc_link.h           |  13 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c     |   6 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c       |  34 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h     |   3 +-
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c      |  20 +
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h      |   1 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c  |  12 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |   6 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c  |  19 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c   |  14 +
 .../gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c    |   8 +-
 .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c  |  35 +-
 drivers/gpu/drm/amd/display/dc/dcn301/Makefile     |  26 --
 .../drm/amd/display/dc/dcn301/dcn301_resource.c    | 349 +--------------
 .../drm/amd/display/dc/dcn301/dcn301_resource.h    |   3 +
 .../drm/amd/display/dc/dcn303/dcn303_resource.c    |  14 +
 .../amd/display/dc/dcn31/dcn31_dio_link_encoder.c  |   4 +-
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c |   5 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c  |  11 +-
 .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.h  |  10 +
 drivers/gpu/drm/amd/display/dc/dm_cp_psp.h         |   2 +
 drivers/gpu/drm/amd/display/dc/dml/Makefile        |   6 +
 .../gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c | 390 ++++++++++++++++
 .../gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.h |  42 ++
 .../drm/amd/display/dc/{ => dml}/dsc/qp_tables.h   |   0
 .../gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c   | 291 ++++++++++++
 .../gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.h   |  94 ++++
 drivers/gpu/drm/amd/display/dc/dsc/Makefile        |  29 --
 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c       | 259 -----------
 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h       |  50 +--
 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c   |   1 -
 drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h    |  16 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h        |   2 +
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h        |   2 +
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h    |  82 +++-
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c  |   3 +
 drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c    |   1 +
 .../amd/display/include/grph_object_ctrl_defs.h    |   1 +
 .../gpu/drm/amd/display/include/i2caux_interface.h |   3 +
 .../drm/amd/display/include/link_service_types.h   |  29 +-
 .../drm/amd/display/modules/freesync/freesync.c    |  15 +-
 .../gpu/drm/amd/display/modules/hdcp/hdcp_psp.c    |   6 +-
 drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h |   2 +
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                 |   4 +-
 include/uapi/drm/amdgpu_drm.h                      |  13 +-
 89 files changed, 2054 insertions(+), 1334 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.h
 rename drivers/gpu/drm/amd/display/dc/{ => dml}/dsc/qp_tables.h (100%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.h


More information about the amd-gfx mailing list