From patchwork Sun Jun 12 09:22:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12878682 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD342CCA481 for ; Sun, 12 Jun 2022 09:22:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D0DF112580; Sun, 12 Jun 2022 09:22:37 +0000 (UTC) Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22BB1112580; Sun, 12 Jun 2022 09:22:36 +0000 (UTC) Received: from g550jk.arnhem.chello.nl (31-151-115-246.dynamic.upc.nl [31.151.115.246]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 8084ECD419; Sun, 12 Jun 2022 09:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1655025754; bh=wtBEwHgxf1k3VKPNLzIL+M2+HCS54WwTAdfC55EoI9Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OkRsSr+4F6L+MVvGWtvyrygNzovKELtMgXuIWQG84o5ff+rTc3HUSzVW5EwGHE4gx Nyzwkl7C00WhhglGgZR9Nri3nTWpF2MnZBoCzAygUOlaO4GQ5bvBBQqwY0TdU6jT7m OJqaYwVDnJhuxwXUw7WndxsCl63q0VND+rJoTpgo= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Subject: [PATCH v2 3/4] drm/msm/mdp5: Add perf data for MDP v1.16 Date: Sun, 12 Jun 2022 11:22:15 +0200 Message-Id: <20220612092218.424809-4-luca@z3ntu.xyz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220612092218.424809-1-luca@z3ntu.xyz> References: <20220612092218.424809-1-luca@z3ntu.xyz> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Willcox , Sireesh Kodali , David Airlie , freedreno@lists.freedesktop.org, Vladimir Lypak , Abhinav Kumar , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, Dmitry Baryshkov , phone-devel@vger.kernel.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Vladimir Lypak Add the perf data for the mdp found in msm8953. Signed-off-by: Vladimir Lypak Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- 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, };