* [PATCH RFC] accel/ivpu: set IPC data_size to per-message payload size
@ 2026-05-19 20:47 Md Shofiqul Islam
0 siblings, 0 replies; only message in thread
From: Md Shofiqul Islam @ 2026-05-19 20:47 UTC (permalink / raw)
To: maciej.falkowski; +Cc: karol.wachowski, dri-devel
Hi Maciej, Karol,
I noticed the TODO at ivpu_ipc.c:100 regarding setting data_size to the
actual JSM message size rather than sizeof(full union). I'd like to work
on this.
My proposed approach: add a u32 msg_size parameter to ivpu_ipc_send() and
ivpu_ipc_tx_prepare(), passing offsetof(struct vpu_jsm_msg, payload) +
sizeof() of the specific payload from each call site in ivpu_jsm_msg.c.
Before proceeding -- is there a firmware compatibility constraint that
intentionally kept this at sizeof(struct vpu_jsm_msg)? And is this the
right tree (drm/misc/kernel) for this change?
Background: I'm a Linux kernel contributor (IIO/ASoC/SCSI patches
upstream) interested in the accel/NPU subsystem.
Regards,
Md Shofiqul Islam
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-20 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 20:47 [PATCH RFC] accel/ivpu: set IPC data_size to per-message payload size Md Shofiqul Islam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox