From patchwork Wed May 24 12:41:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Govindapillai X-Patchwork-Id: 13253926 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 0E5B8C77B73 for ; Wed, 24 May 2023 12:41:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B12010E66D; Wed, 24 May 2023 12:41:55 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 54F3C10E66D for ; Wed, 24 May 2023 12:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684932114; x=1716468114; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RFlNjFT/kR+wU2SDb7bJFfNcSGMLfuxHva0MBtyTvzc=; b=R4hlyFwzEBwcRgp6Jijoi1FSEwAtGiOEICFogaFfnekn9Fi7aDU53D60 cy49KnZOCBDHXT5L1Zqw2wfo+SCWpuHgCQzQfcYnwahhHj4C8+R4gYkTP Qu8kfOZ1oq3Tn9+2vNXWsVnyqpKi0Bf/i7ex4F0vsVREojmK06I1hkzb/ V3tZ6riFYkPJO8xbyUbLc5wr3CGqMd2UQ8CR21zThxI7GNz9rU8qtUNR6 2RKSHwjvaMyraqQu3Wls6ImjWPAs2lGA9wBthWom4G6ip3Yu+bo2iMCfX CVZvIkKZcPEiVx90SdKtXL9atBUmw8Tox3j5l8ZF+e/pIDfMQ1gTUuyBt Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10720"; a="353575627" X-IronPort-AV: E=Sophos;i="6.00,189,1681196400"; d="scan'208";a="353575627" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2023 05:41:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10720"; a="828561844" X-IronPort-AV: E=Sophos;i="6.00,189,1681196400"; d="scan'208";a="828561844" Received: from kathrine-mobl2.ger.corp.intel.com (HELO vgovind2-mobl3.intel.com) ([10.251.223.215]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2023 05:41:51 -0700 From: Vinod Govindapillai To: intel-gfx@lists.freedesktop.org Date: Wed, 24 May 2023 15:41:18 +0300 Message-Id: <20230524124124.378194-2-vinod.govindapillai@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230524124124.378194-1-vinod.govindapillai@intel.com> References: <20230524124124.378194-1-vinod.govindapillai@intel.com> MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Subject: [Intel-gfx] [PATCH v7 1/7] drm/i915: fix the derating percentage for MTL X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ville.syrjala@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Follow the values from bspec for the percentage overhead for efficiency in MTL BW calculations. Bspec: 64631 Signed-off-by: Vinod Govindapillai Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/display/intel_bw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_bw.c b/drivers/gpu/drm/i915/display/intel_bw.c index 597d5816ad1b..ab405c48ca3a 100644 --- a/drivers/gpu/drm/i915/display/intel_bw.c +++ b/drivers/gpu/drm/i915/display/intel_bw.c @@ -379,7 +379,7 @@ static const struct intel_sa_info mtl_sa_info = { .deburst = 32, .deprogbwlimit = 38, /* GB/s */ .displayrtids = 256, - .derating = 20, + .derating = 10, }; static int icl_get_bw_info(struct drm_i915_private *dev_priv, const struct intel_sa_info *sa)