[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241206220001.164049-1-lizhi.hou@amd.com>
Date: Fri, 6 Dec 2024 13:59:53 -0800
From: Lizhi Hou <lizhi.hou@....com>
To: <ogabbay@...nel.org>, <quic_jhugo@...cinc.com>,
<dri-devel@...ts.freedesktop.org>
CC: Lizhi Hou <lizhi.hou@....com>, <linux-kernel@...r.kernel.org>,
<min.ma@....com>, <max.zhen@....com>, <sonal.santan@....com>,
<king.tam@....com>, <mario.limonciello@....com>
Subject: [PATCH V2 0/8] AMD NPU driver improvements
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/
Changes since v1:
- Add one patch to fix possible compiling failure
- Minor fixes for code review comments
Lizhi Hou (8):
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
accel/amdxdna: Add include interrupt.h to amdxdna_mailbox.c
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 | 60 +++---
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 | 68 ++++++-
20 files changed, 802 insertions(+), 244 deletions(-)
create mode 100644 drivers/accel/amdxdna/aie2_pm.c
create mode 100644 drivers/accel/amdxdna/npu6_regs.c
--
2.34.1
Powered by blists - more mailing lists