Interpret 0xF populated-channel count as 16. For 16-channel configuration, BIOS programs 1111b. A programmed value of 1111b must be interpreted as 16 channels for memory bandwidth calculations. This series implements the workaround in driver.
v2: - Logical separation of changes - Limit WA to NVL Uma Shankar (2): drm/i915/xe3p/dram: Interpret 0xF populated-channel count as 16 drm/i915/xe3p/bw: Update bw calculation to account for 16 channels drivers/gpu/drm/i915/display/intel_bw.c | 20 ++++++++++++++++--- .../gpu/drm/i915/display/intel_display_wa.c | 2 ++ .../gpu/drm/i915/display/intel_display_wa.h | 1 + drivers/gpu/drm/i915/display/intel_dram.c | 14 ++++++++++++- 4 files changed, 33 insertions(+), 4 deletions(-) -- 2.50.1
