mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V1 0/7] AMD NPU driver improvements
@ 2024-12-04 21:37 Lizhi Hou
  2024-12-04 21:37 ` [PATCH V1 1/7] accel/amdxdna: Add device status for aie2 devices Lizhi Hou
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Lizhi Hou @ 2024-12-04 21:37 UTC (permalink / raw)
  To: ogabbay, quic_jhugo, dri-devel
  Cc: Lizhi Hou, linux-kernel, min.ma, max.zhen, sonal.santan,
	king.tam, mario.limonciello

Add recent improvements and bug fixes for amdxdna driver (depends on [1])
1. Support recent hardware and firmware.
2. Replace idr APIs with xarray.
3. Fix the bugs been found.

[1]: https://lore.kernel.org/all/20241118172942.2014541-1-lizhi.hou@amd.com/

Lizhi Hou (7):
  accel/amdxdna: Add device status for aie2 devices
  accel/amdxdna: Replace mmput with mmput_async to avoid dead lock
  accel/amdxdna: Add RyzenAI-npu6 support
  accel/amdxdna: Replace idr api with xarray
  accel/amdxdna: Add query firmware version
  accel/amdxdna: Enhance power management settings
  accel/amdxdna: Read firmware interface version from registers

 drivers/accel/amdxdna/Makefile          |   4 +-
 drivers/accel/amdxdna/TODO              |   2 -
 drivers/accel/amdxdna/aie2_ctx.c        |  12 +-
 drivers/accel/amdxdna/aie2_message.c    |  37 +---
 drivers/accel/amdxdna/aie2_pci.c        | 252 +++++++++++++++++++-----
 drivers/accel/amdxdna/aie2_pci.h        |  68 +++++--
 drivers/accel/amdxdna/aie2_pm.c         | 108 ++++++++++
 drivers/accel/amdxdna/aie2_smu.c        |  85 ++++----
 drivers/accel/amdxdna/aie2_solver.c     |  59 +++++-
 drivers/accel/amdxdna/aie2_solver.h     |   1 +
 drivers/accel/amdxdna/amdxdna_ctx.c     |  46 ++---
 drivers/accel/amdxdna/amdxdna_mailbox.c |  59 ++----
 drivers/accel/amdxdna/amdxdna_pci_drv.c |  23 ++-
 drivers/accel/amdxdna/amdxdna_pci_drv.h |   8 +-
 drivers/accel/amdxdna/npu1_regs.c       |  31 ++-
 drivers/accel/amdxdna/npu2_regs.c       |  17 +-
 drivers/accel/amdxdna/npu4_regs.c       |  34 +++-
 drivers/accel/amdxdna/npu5_regs.c       |  17 +-
 drivers/accel/amdxdna/npu6_regs.c       | 114 +++++++++++
 include/uapi/drm/amdxdna_accel.h        |  70 +++++++
 20 files changed, 804 insertions(+), 243 deletions(-)
 create mode 100644 drivers/accel/amdxdna/aie2_pm.c
 create mode 100644 drivers/accel/amdxdna/npu6_regs.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-12-06  1:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-04 21:37 [PATCH V1 0/7] AMD NPU driver improvements Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 1/7] accel/amdxdna: Add device status for aie2 devices Lizhi Hou
2024-12-04 22:26   ` Mario Limonciello
2024-12-05  5:15     ` Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 2/7] accel/amdxdna: Replace mmput with mmput_async to avoid dead lock Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 3/7] accel/amdxdna: Add RyzenAI-npu6 support Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 4/7] accel/amdxdna: Replace idr api with xarray Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 5/7] accel/amdxdna: Add query firmware version Lizhi Hou
2024-12-04 22:24   ` Mario Limonciello
2024-12-05  5:14     ` Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 6/7] accel/amdxdna: Enhance power management settings Lizhi Hou
2024-12-05  3:52   ` Mario Limonciello
2024-12-06  1:13     ` Lizhi Hou
2024-12-04 21:37 ` [PATCH V1 7/7] accel/amdxdna: Read firmware interface version from registers Lizhi Hou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®