Re: [PATCH v4] media: iris: add FPS calculation and VPP FW overhead in frequency formula

From: Vikash Garodia

Date: Thu Mar 26 2026 - 00:17:59 EST



On 3/25/2026 10:05 PM, Vishnu Reddy wrote:
The driver was using a fixed default FPS value when calculating the VPU
frequency. This caused wrong frequency requests for high‑frame‑rate
streams, for example 4K at 240 FPS. Because of this, the hardware was
running at a lower frequency than needed.

Add the FPS measurement based on the decoder input buffer arrival rate.
The measured FPS is stored per instance and used in frequency calculation
instead of the fixed default FPS. The value is clamped so that it does
not exceed platform limits. Add a VPP firmware overhead when running in
STAGE_2.

Signed-off-by: Vishnu Reddy<busanna.reddy@xxxxxxxxxxxxxxxx>
---

Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>