diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-10-12 18:00:46 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-10-14 13:19:19 -0700 |
commit | 83f52364b15265aec47d07e02b0fbf4093ab8554 (patch) | |
tree | c9ed98dfdfac820b5dfda0e42bb6fe48f23f097b /drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c | |
parent | e6908588008f96f7cb6f9cd6dc63236f819d3a54 (diff) | |
download | linux-83f52364b15265aec47d07e02b0fbf4093ab8554.tar.gz linux-83f52364b15265aec47d07e02b0fbf4093ab8554.tar.bz2 linux-83f52364b15265aec47d07e02b0fbf4093ab8554.zip |
drm/i915: Remove memory frequency calculation
This memory frequency calculated is only used to check if it is zero,
what is not useful as it will never actually be zero.
Also the calculation is wrong, we should be checking other bit to
select the appropriate frequency multiplier while this code is stuck
with a fixed multiplier.
So here dropping it as whole.
v2:
- Also remove memory frequency calculation for gen9 LP platforms
Cc: Yakui Zhao <yakui.zhao@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Fixes: 5d0c938ec9cc ("drm/i915/gen11+: Only load DRAM information from pcode")
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211013010046.91858-1-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c')
0 files changed, 0 insertions, 0 deletions