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

Kai-Heng Feng kai.heng.feng at canonical.com
Fri Sep 17 07:27:55 UTC 2021


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(-)

-- 
2.32.0




More information about the kernel-team mailing list