On Thu Feb 12 10:08:11 2026 +0000, Daniel Scally wrote:
> The vertical blanking settings for the IVC block are dependent on
> settings in the ISP. This was originally set to calculate as the
> worst-case possible value, but it seems that this can cause the IVC
> block to hang. Instead calculate the vblank to match the default
> settings (which are currently all the driver sets anyway).
> 
> Cc: [email protected]
> Fixes: f0b3984d821b ("media: platform: Add Renesas Input Video Control block 
> driver")
> Signed-off-by: Daniel Scally <[email protected]>
> Signed-off-by: Jacopo Mondi <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>

Patch committed.

Thanks,
Hans Verkuil

 drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c 
b/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
index 799453250b85..1e016b17dcee 100644
--- a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
+++ b/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
@@ -24,7 +24,7 @@
 #include <media/videobuf2-dma-contig.h>
 
 #define RZV2H_IVC_FIXED_HBLANK                 0x20
-#define RZV2H_IVC_MIN_VBLANK(hts)              max(0x1b, 15 + (120501 / (hts)))
+#define RZV2H_IVC_MIN_VBLANK(hts)              max(0x1b, 70100 / (hts))
 
 struct rzv2h_ivc_buf {
        struct vb2_v4l2_buffer vb;
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to