On Thu Oct 1 10:31:28 2026 +0300, Divyamani Tripathi wrote:
> Drop the retired IPU_INSYS_RESP_TYPE_PWM_IRQ response type and add the
> mipi_fn field the firmware now reports in its place, matching staging
> ipu7's ABI bump. The boot-ABI and psys message changes from that
> commit don't apply here: this driver has no equivalents to touch.
> 
> Signed-off-by: Divyamani Tripathi <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/media/pci/intel/ipu6/ipu7-fw-isys.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

---

diff --git a/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h 
b/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
index d5289f6add8c..6b72560b0a15 100644
--- a/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
+++ b/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
@@ -4,6 +4,8 @@
 #ifndef IPU7_FW_ISYS_H
 #define IPU7_FW_ISYS_H
 
+#include <linux/limits.h>
+
 #define IPU7_FWLOG_MAX_LOGGER_SOURCES          (64U)
 #define IPU7_INSYS_MAX_OUTPUT_QUEUES           3U
 #define IPU7_INSYS_STREAM_ID_MAX               16U
@@ -24,6 +26,9 @@
 #define IPU7_ISYS_NUM_RECV_QUEUE               1U
 #define IPU7_INSYS_SEND_QUEUE_TOKEN_FLAG_NONE  0U
 
+/* Value of mipi_fn below when firmware ABI < 1.2.1 does not report it. */
+#define IPU7_INSYS_MIPI_FRAME_NUMBER_DONT_CARE U16_MAX
+
 #define IPU7_LOGGER_CFG_CHANNEL_ENABLE_SYSCOM  BIT(1)
 
 #define IPU7_ISYS_MAX_STREAMS  16U
@@ -107,7 +112,6 @@ enum ipu7_insys_resp_type {
        IPU7_INSYS_RESP_TYPE_FRAME_EOF = 8,
        IPU7_INSYS_RESP_TYPE_STREAM_START_AND_CAPTURE_DONE = 9,
        IPU7_INSYS_RESP_TYPE_STREAM_CAPTURE_DONE = 10,
-       IPU7_INSYS_RESP_TYPE_PWM_IRQ = 11,
        N_IPU7_INSYS_RESP_TYPE
 };
 
@@ -198,7 +202,7 @@ struct ipu7_insys_resp {
        u8 pin_id;
        u8 frame_id;
        u8 skip_frame;
-       u8 pad[2];
+       u16 mipi_fn;
 };
 
 struct ipu7_insys_resp_queue_token {
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to