Re: [PATCH V2 7/8] accel/amdxdna: Read firmware interface version from registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/6/2024 3:00 PM, Lizhi Hou wrote:
The latest released firmware supports reading firmware interface version
from registers directly. The driver's probe routine reads the major and
minor version numbers. If the firmware interface does not compatible with
the driver, the driver's probe routine returns failure.

Co-developed-by: Min Ma <min.ma@xxxxxxx>
Signed-off-by: Min Ma <min.ma@xxxxxxx>
Signed-off-by: Lizhi Hou <lizhi.hou@xxxxxxx>
---
  drivers/accel/amdxdna/aie2_message.c | 26 ----------
  drivers/accel/amdxdna/aie2_pci.c     | 74 ++++++++++++++++++++++------
  drivers/accel/amdxdna/aie2_pci.h     |  6 +--
  drivers/accel/amdxdna/npu1_regs.c    |  2 +-
  drivers/accel/amdxdna/npu2_regs.c    |  2 +-
  drivers/accel/amdxdna/npu4_regs.c    |  2 +-
  drivers/accel/amdxdna/npu5_regs.c    |  2 +-

Do you need an update to npu6_regs?

-Jeff



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux