From 427697671cb998072e799e13c55ca39fd93e7fab Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Wed, 18 Dec 2024 11:25:12 +0100 Subject: [PATCH] Reapply "mfc: Reduce QoS boosting from Samsung hacks" This reverts commit e1b24976b407de850b5127314f530a7315503bcc. --- drivers/media/platform/exynos/mfc/base/mfc_qos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/mfc/base/mfc_qos.c b/drivers/media/platform/exynos/mfc/base/mfc_qos.c index a742b1f23..048c241ea 100755 --- a/drivers/media/platform/exynos/mfc/base/mfc_qos.c +++ b/drivers/media/platform/exynos/mfc/base/mfc_qos.c @@ -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; }