OSDN Git Service

drm/i915: fix the derating percentage for MTL
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Tue, 6 Jun 2023 09:35:03 +0000 (12:35 +0300)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Wed, 7 Jun 2023 18:24:36 +0000 (11:24 -0700)
Follow the values from bspec for the percentage overhead for
efficiency in MTL BW calculations.

Bspec: 64631

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230606093509.221709-2-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_bw.c

index 597d581..ab405c4 100644 (file)
@@ -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)