drm/i915: Fix memory type read in bandwidth calc
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · James Ausmus
The returned memory value does not align with BSpec - update to correct this.
Hrm. The values came directly from "IceLake PCODE/Punit Mailboxes MAS" .doc. The question is which documentation is more correct?
Quoted 40 lines
BSpec: 54023
Cc Ville Syrjälä <[email protected]>Signed-off-by James Ausmus <[email protected]>--- drivers/gpu/drm/i915/display/intel_bw.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_bw.c +9
-5@@ -39,15 +39,19 @@ static int icl_pcode_read_mem_global_info(struct drm_i915_private *dev_priv,case 0 : qi->dram_type =INTEL_DRAM_DDR4 ;break ; -case 1 : - qi->dram_type =INTEL_DRAM_DDR3 ; +case 3 : + qi->dram_type =INTEL_DRAM_LPDDR4 ;break ; -case 2 : - qi->dram_type =INTEL_DRAM_LPDDR3 ; +case 4 : + qi->dram_type =INTEL_DRAM_DDR3 ;break ; -case 3 : +case 5 : qi->dram_type =INTEL_DRAM_LPDDR3 ;break ; +case 1 : +case 2 : +/* Unimplemented */ +/* fall through */ default :MISSING_CASE (val &0xf );break ;Signature · 1 line
2.22.1
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx