mbox series

[SRU,OEM-5.10,0/3] Fix i915 warnings on skl_dram_get_channel_info()

Message ID 20210917072758.706541-1-kai.heng.feng@canonical.com
Headers show
Series Fix i915 warnings on skl_dram_get_channel_info() | expand

Message

Kai-Heng Feng Sept. 17, 2021, 7:27 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1943923

[Impact]
Kernel warning from i915's skl_dram_get_channel_info().

[Fix]
Update how i915 gets DRAM information.

[Test]
No more kernel splat after the fix gets applied.
Anything graphics related seems to work fine.

[Where problems could occur]
The change only applies to gen11 and gen12 gfx so the scope is limited.
If the PCODE doesn't work as intended, this might cause regression.

José Roberto de Souza (3):
  drm/i915: Nuke not needed members of dram_info
  drm/i915/gen11+: Only load DRAM information from pcode
  drm/i915: Rename is_16gb_dimm to wm_lv_0_adjust_needed

 drivers/gpu/drm/i915/display/intel_bw.c |  80 ++------------
 drivers/gpu/drm/i915/i915_drv.c         |   5 +-
 drivers/gpu/drm/i915/i915_drv.h         |   6 +-
 drivers/gpu/drm/i915/intel_dram.c       | 136 ++++++++++++++++--------
 drivers/gpu/drm/i915/intel_pm.c         |   2 +-
 5 files changed, 108 insertions(+), 121 deletions(-)

Comments

AceLan Kao Oct. 6, 2021, 11:39 a.m. UTC | #1
applied to oem-5.10, thanks
Acked-By: AceLan Kao <acelan.kao@canonical.com>