accel/ivpu: Fix FW API data alignment issues
authorAndrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Thu, 2 Feb 2023 09:21:11 +0000 (10:21 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 6 Feb 2023 08:01:20 +0000 (09:01 +0100)
commit4ea1e504db5b776892e2f5b0c5f05af6a046286b
tree3ef80a90b3760f2bee557cab787a54c351613e76
parent8ee3b0e85f6ccd9e6c527bc50eaba774c3bb18d0
accel/ivpu: Fix FW API data alignment issues

FW API structures have been updated to fix misaligned
structure members.

Also changed JSM message header format to account for
future improvements.

Added explicit check for minimum supported JSM API version.

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/20230202092114.2637452-2-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_fw.c
drivers/accel/ivpu/ivpu_job.c
drivers/accel/ivpu/vpu_jsm_api.h