media: tc358743: Increase FIFO level to 374.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 31 Oct 2018 14:56:59 +0000 (14:56 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:32:49 +0000 (11:32 +0000)
commit2cf9050c6a0dbe4c675395d92e88707d52f40a7e
tree44673ff84f6d6b50c226d09e6ecde4af39be75da
parent9eefd0da1a039aaf5d7259b63d4e1752cebd830e
media: tc358743: Increase FIFO level to 374.

The existing fixed value of 16 worked for UYVY 720P60 over
2 lanes at 594MHz, or UYVY 1080P60 over 4 lanes. (RGB888
1080P60 needs 6 lanes at 594MHz).
It doesn't allow for lower resolutions to work as the FIFO
underflows.

374 is required for 1080P24-30 UYVY over 2 lanes @ 972Mbit/s, but
>374 means that the FIFO underflows on 1080P50 UYVY over 2 lanes
@ 972Mbit/s.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/media/i2c/tc358743.c