On Thu Aug 27 15:33:00 2026 +0300, Antti Laakso wrote:
> The ipu7 comes in two flavors as of now, ipu7 and ipu7p5.
> 
> Signed-off-by: Antti Laakso <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/media/pci/intel/ipu6/ipu6.h | 6 ++++++
 1 file changed, 6 insertions(+)

---

diff --git a/drivers/media/pci/intel/ipu6/ipu6.h 
b/drivers/media/pci/intel/ipu6/ipu6.h
index 874b377a2e9a..ebae876058ca 100644
--- a/drivers/media/pci/intel/ipu6/ipu6.h
+++ b/drivers/media/pci/intel/ipu6/ipu6.h
@@ -27,11 +27,17 @@ struct ipu6_bus_device;
 #define IPU_VERSION_6SE                BIT(1) /* JSL */
 #define IPU_VERSION_6EP                BIT(2) /* ADL/RPL */
 #define IPU_VERSION_6EP_MTL    BIT(3) /* MTL */
+#define IPU_VERSION_7          BIT(4) /* LNL */
+#define IPU_VERSION_7P5                BIT(5) /* PTL */
 
 #define IS_IPU6_TGL(isp)       ((isp)->hw_ver & IPU_VERSION_6)
 #define IS_IPU6SE(isp)         ((isp)->hw_ver & IPU_VERSION_6SE)
 #define IS_IPU6EP(isp)         ((isp)->hw_ver & IPU_VERSION_6EP)
 #define IS_IPU6EP_MTL(isp)     ((isp)->hw_ver & IPU_VERSION_6EP_MTL)
+#define IS_IPU7(isp)           ((isp)->hw_ver & \
+                                (IPU_VERSION_7 | IPU_VERSION_7P5))
+#define IS_IPU7_MTL(isp)       ((isp)->hw_ver & IPU_VERSION_7)
+#define IS_IPU7P5(isp)         ((isp)->hw_ver & IPU_VERSION_7P5)
 
 /*
  * ISYS DMA can overshoot. For higher resolutions over allocation is one line
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to