Skip to content

Commit 3422413

Browse files
Andrzej Kacprowskijlawryno
authored andcommitted
accel/ivpu: Fix IPC buffer header status field value
IPC messages transmitted to the device must be marked as allocated - status field must be set to 1. The VPU driver has IVPU_IPC_HDR_ALLOCATED incorrectly defined. Future VPU firmware versions will reject all IPC messages with invalid status and will not work with a VPU driver that is missing this fix. Fixes: 5d7422c ("accel/ivpu: Add IPC driver and JSM messages") Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230323125504.2586442-9-stanislaw.gruszka@linux.intel.com
1 parent 252776b commit 3422413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/accel/ivpu/ivpu_ipc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct ivpu_bo;
2121
#define IVPU_IPC_ALIGNMENT 64
2222

2323
#define IVPU_IPC_HDR_FREE 0
24-
#define IVPU_IPC_HDR_ALLOCATED 0
24+
#define IVPU_IPC_HDR_ALLOCATED 1
2525

2626
/**
2727
* struct ivpu_ipc_hdr - The IPC message header structure, exchanged

0 commit comments

Comments
 (0)