[PATCH 0/8] enable mes pipe0 and pipe1 for unified mes fw.

Jack Xiao Jack.Xiao at amd.com
Wed Aug 7 09:38:39 UTC 2024


Enable both pipe0 and pipe1 running unified mes firmware.
They are almost identical pipe, but pipe1 behaves more like legacy kiq.
As per fw design, pipe0 is required to be mapped by pipe1 to make
some fw feature work.

Jack Xiao (8):
  drm/amdgpu/mes12: update mes_v12_api_def.h
  drm/amdgpu/mes: add multiple mes ring instances support
  drm/amdgpu/mes12: load unified mes fw on pipe0 and pipe1
  drm/amdgpu/mes12: add mes pipe switch support
  drm/amdgpu/mes12: adjust mes12 sw/hw init for multiple pipes
  drm/amdgpu/mes12: configure tow pipes hardware resources
  drm/amdgpu/mes12: sw/hw fini for unified mes
  drm/amdgpu/mes12: fix suspend issue

 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c       |  26 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c       |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c       |  83 ++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h       |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c      |   2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c        |  27 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c        |   2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c        |   2 +-
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c        |  41 ++-
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c        | 278 +++++++++---------
 drivers/gpu/drm/amd/include/mes_v12_api_def.h |   7 +-
 11 files changed, 262 insertions(+), 227 deletions(-)

-- 
2.41.0



More information about the amd-gfx mailing list