Re: [PATCH V7 03/10] accel/amdxdna: Support hardware mailbox

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

 



Hi Mike,


How did you install npu.sbin.1.5.2.380?  There should be a symlink npu.sbin which points to npu.sbin.1.5.2.380.

https://gitlab.com/kernel-firmware/linux-firmware/-/blob/main/WHENCE?ref_type=heads#L2719


Thanks,

Lizhi

On 12/5/24 07:44, Mike Lothian wrote:
Hi

I needed to add the following to get things compiling for me


diff --git a/drivers/accel/amdxdna/amdxdna_mailbox.c
b/drivers/accel/amdxdna/amdxdna_mailbox.c
index fe684f463b945..79b9801935e71 100644
--- a/drivers/accel/amdxdna/amdxdna_mailbox.c
+++ b/drivers/accel/amdxdna/amdxdna_mailbox.c
@@ -6,6 +6,7 @@
#include <drm/drm_device.h>
#include <drm/drm_managed.h>
#include <linux/bitfield.h>
+#include <linux/interrupt.h>
#include <linux/iopoll.h>

#define CREATE_TRACE_POINTS


I also had to rename the firmware in /lib/firmware/amdnpu/1502_00/
from npu.sbin.1.5.2.380 to npu.sbin

Cheers

Mike





[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