OSDN Git Service

drm/i915/mtl: Skip doubling channel numbers for LPDDR4/LPDDDR5
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Thu, 17 Nov 2022 21:30:15 +0000 (13:30 -0800)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 18 Nov 2022 18:01:37 +0000 (10:01 -0800)
commit244c679b4b8c45b7ecba873ae1c83482665eaac8
treed5d504adb8d209f35f243b4714f8b94808b816f7
parentec35c41d91052a3a15dd3767075620af448b8030
drm/i915/mtl: Skip doubling channel numbers for LPDDR4/LPDDDR5

MTL LPDDR5 reported 16b with 8 channels. Previous platforms
reported 32b with 4 channels and hence needed a multiplication
by a factor of 2. Skip increasing the channels for MTL.

v2: Use version check instead of platform check(MattR)

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