Reapply "mfc: Reduce QoS boosting from Samsung hacks"

This reverts commit e1b24976b4.
This commit is contained in:
Ksawlii 2024-12-18 11:25:12 +01:00
parent c88287ceb0
commit 427697671c

View file

@ -559,7 +559,7 @@ void mfc_qos_update_last_framerate(struct mfc_ctx *ctx, u64 timestamp)
if (ctx->last_framerate > MFC_MAX_FPS)
ctx->last_framerate = MFC_MAX_FPS;
if (ctx->src_ts.ts_is_full)
if (!(ctx->type == MFCINST_DECODER && !IS_UHD_RES(ctx)))
ctx->last_framerate = (ctx->qos_ratio * ctx->last_framerate) / 100;
}