[Freedreno] [PATCH v2 3/4] drm/msm/mdp5: Add perf data for MDP v1.16

Luca Weiss luca at z3ntu.xyz
Sun Jun 12 09:22:15 UTC 2022


From: Vladimir Lypak <vladimir.lypak at gmail.com>

Add the perf data for the mdp found in msm8953.

Signed-off-by: Vladimir Lypak <vladimir.lypak at gmail.com>
Signed-off-by: Luca Weiss <luca at z3ntu.xyz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
---
Changes from v1:
- pick up R-b tag

 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
index 1bf9ff5dbabc..b17f868ffca8 100644
--- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
+++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c
@@ -837,6 +837,11 @@ static const struct mdp5_cfg_hw msm8x53_config = {
 			[2] = INTF_DSI,
 		},
 	},
+	.perf = {
+		.ab_inefficiency = 100,
+		.ib_inefficiency = 200,
+		.clk_inefficiency = 105
+	},
 	.max_clk = 400000000,
 };
 
-- 
2.36.1



More information about the Freedreno mailing list