[PATCH 00/29] Add support for GC 11.0

Alex Deucher alexander.deucher at amd.com
Fri Apr 29 18:01:57 UTC 2022


This patch set adds GFX and KFD support for GC 11.0.  GC11 uses MES
for engine management and has a new microcontroller, IMU, which
handles power management for the block.

Alex Deucher (2):
  drm/amdgpu/discovery: handle AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO in SMU
  drm/amdgpu/discovery: add MES11 support

Chengming Gui (2):
  drm/amd/amdgpu: adjust the fw load type list
  drm/amd/amdgpu: add more fw load type to fit new ASICs

Evan Quan (2):
  drm/amdgpu: enable GFX CGCG/CGLS for GC11.0.0
  drm/amdgpu: enable fgcg for soc21

Hawking Zhang (2):
  drm/amdgpu: add init support for GFX11 (v2)
  drm/amdgpu: enable GENERIC0_INT for gfx/compute pipes

Jack Xiao (6):
  drm/amdgpu: add new CP_MES ucode ids
  drm/amdgpu: correct cp doorbell range
  drm/amdgpu: add mes unmap legacy queue routine
  drm/amdgpu/mes11: initiate mes v11 support
  drm/amdgpu/gfx10: enable kiq to map mes ring
  drm/amdgpu/gfx11: enable kiq to map mes ring

Likun Gao (14):
  drm/amdgpu: support RLCP firmware front door load
  drm/amdgpu: support RLCV firmware front door load
  drm/amdgpu: support for new SDMA front door load
  drm/amdgpu: support IMU front door load
  drm/amdgpu: add convert for new gfx type
  drm/amdgpu: init SDMA v6 microcode with PSP load type
  drm/amdgpu: extend the show ucode name function
  drm/amdgpu/gfx: refine fw hdr check fuction
  drm/amdgpu: skip amdgpu_ucode_create_bo for backdoor autoload
  drm/amdgpu: fix the fw size for sdma
  drm/amdgpu: renovate sdma fw struct
  drm/amdgpu: support RS64 CP fw front door load
  drm/amdgpu: support imu for gfx11
  drm/amdgpu/discovery: add GFX 11.0 Support

Mukul Joshi (1):
  drm/amdkfd: Add KFD support for soc21 v3

 drivers/gpu/drm/amd/amdgpu/Makefile           |   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c    |   15 +-
 .../drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c    |  625 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c |   30 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h  |   11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c       |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h       |   17 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h       |   51 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c       |  335 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h       |   85 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       |   51 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c     |  140 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h     |   35 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c        |   22 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c        | 6342 +++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.h        |   29 +
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c        |    7 +-
 drivers/gpu/drm/amd/amdgpu/imu_v11_0.c        |  286 +
 drivers/gpu/drm/amd/amdgpu/imu_v11_0.h        |   30 +
 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c        |  175 +-
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c        | 1181 +++
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.h        |   29 +
 drivers/gpu/drm/amd/amdgpu/nv.c               |    4 +
 drivers/gpu/drm/amd/amdgpu/soc21.c            |    8 +-
 drivers/gpu/drm/amd/amdkfd/Makefile           |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c         |    8 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c       |   24 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager.c |  299 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager.h |    5 +
 .../amd/amdkfd/kfd_device_queue_manager_v11.c |   81 +
 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c     |   56 +-
 .../gpu/drm/amd/amdkfd/kfd_int_process_v11.c  |  383 +
 .../gpu/drm/amd/amdkfd/kfd_int_process_v9.c   |    8 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c  |   10 +-
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c  |  508 ++
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h         |   13 +
 drivers/gpu/drm/amd/amdkfd/kfd_process.c      |   19 +
 .../amd/amdkfd/kfd_process_queue_manager.c    |   21 +
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c     |    3 +-
 drivers/gpu/drm/amd/amdkfd/soc15_int.h        |    3 +-
 .../gpu/drm/amd/include/kgd_kfd_interface.h   |    1 +
 .../drm/amd/{amdgpu => include}/mes_api_def.h |  167 +-
 drivers/gpu/drm/amd/include/mes_v11_api_def.h |  579 ++
 44 files changed, 11417 insertions(+), 302 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/imu_v11_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/imu_v11_0.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/mes_v11_0.h
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v11.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
 rename drivers/gpu/drm/amd/{amdgpu => include}/mes_api_def.h (68%)
 create mode 100644 drivers/gpu/drm/amd/include/mes_v11_api_def.h

-- 
2.35.1



More information about the amd-gfx mailing list