diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-01-28 17:43:12 +0100 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-01-29 14:50:50 +0100 |
commit | 66a245092baab799242aa3ca6c37325f7f5e4dfa (patch) | |
tree | 7b0108da97e7849eaca887e5313186b098493d53 /drivers/gpu/drm/i915/intel_pm.c | |
parent | drm/i915/gen11+: Only load DRAM information from pcode (diff) | |
download | linux-66a245092baab799242aa3ca6c37325f7f5e4dfa.tar.xz linux-66a245092baab799242aa3ca6c37325f7f5e4dfa.zip |
drm/i915: Rename is_16gb_dimm to wm_lv_0_adjust_needed
As it now it is always required for GEN12+ the is_16gb_dimm name
do not make sense for GEN12+.
v2:
- Updated comment on top of "dram_info->wm_lv_0_adjust_needed =
!IS_GEN9_LP(i915);"
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210128164312.91160-3-jose.souza@intel.com
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 1db7059af87f..0c3e63f27c29 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2930,7 +2930,7 @@ static void intel_read_wm_latency(struct drm_i915_private *dev_priv, * any underrun. If not able to get Dimm info assume 16GB dimm * to avoid any underrun. */ - if (dev_priv->dram_info.is_16gb_dimm) + if (dev_priv->dram_info.wm_lv_0_adjust_needed) wm[0] += 1; } else if (IS_HASWELL(dev_priv) || IS_BROADWELL(dev_priv)) { |